Placing javascript in its own file

admin

Administrator
Staff member
Site URL: <!-- m --><a class="postlink" href="http://www.btinternet.com/~cyberchimp/test/dec/home_test.htm">http://www.btinternet.com/~cyberchimp/t ... e_test.htm</a><!-- m -->

All the pages on my site include two fairly large chunks of javascript in the HEAD:
(1) a 'slider' (vertical marquee) and
(2) a set of drop down menus (generated using Fireworks)

I would like to place the javascripts in two separate files that could then be called by each page, thereby reducing download time. However, my attempts to deal with the slider in this way have been unsuccessful, and I'm not even sure if this is possible for the drop down menus.

Can anyone help?
Many thanks
 
Back
Top