Title: Re: [WSG] Linking to Multiple JavaScript Files
On 2/4/06 6:58 PM, "Martin Jopson" <[EMAIL PROTECTED]> wrote:

Anyone?
Or what does everyone else do when they need to add an extra js script link to every file in the site?

--

I tend to keep a file in my includes directory called functions.js, and put most of my scripts in that file, and link it to all pages. That way, I can just add a new function or script to that file, and it’s automatically available to all pages. If I have a highly specialised script that’s only useful to one page, then I’ll include it separately on the page concerned.

--
Kevin Futter
Webmaster, St. Bernard's College
http://www.sbc.melb.catholic.edu.au/

Reply via email to