Professional Web Applications Themes

JAVA Script placement - Macromedia Dynamic HTML

Where is javascript placed in an HTML or CSS File? I am creating a CSS based drop down menu and need to know where to place some java script that it will need....

  1. #1

    Default JAVA Script placement

    Where is javascript placed in an HTML or CSS File? I am creating a CSS based drop down menu and need to know where to place some java script that it will need.
    tanktery Guest

  2. #2

    Default Re: JAVA Script placement

    > Where is javascript placed in an HTML or CSS File?

    You cannot put javascript into a CSS file.

    Normally it's put in the head of an HTML file.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "tanktery" <com> wrote in message
    news:foju6v$o86$macromedia.com... 

    Murray Guest

  3. #3

    Default Re: JAVA Script placement

    Where you place the JS, is based upon what that JS is doing. If, as it sounds
    like, you are placing JS to fix the IE6 CSS problem, then it goes in the "head"
    section.

    But, you can also place JS in the body, to affect what the visitor sees, under
    certain cirstances. For example, you can change a drop-down pick-list, based
    upon a previous selection in a form.

    It all depends on what you plan to do with the JS.



    John Guest

Similar Threads

  1. help with java script
    By mokitty in forum Macromedia Dynamic HTML
    Replies: 0
    Last Post: August 5th, 03:34 PM
  2. Replies: 2
    Last Post: February 5th, 03:33 PM
  3. Mac and Java Script?
    By Bill ODonnell in forum ASP
    Replies: 1
    Last Post: September 26th, 07:55 PM
  4. Java Script pop-up
    By IntraRELY in forum ASP.NET General
    Replies: 3
    Last Post: August 22nd, 06:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139