adamWeiler
07-04-2007, 04:11 PM
I have 4 Javascript functions;
one for the date, one to open a new window, one with an alert message, and one for a photograph slideshow. The first three are accessible on all my pages, and the last one is used on only one page.
Right now, each of these functions is in a seperate file, and it's kind-of bulky in the <head> section.
I'm wondering if:
-I should put all of the functions in the same file.
OR -is there a way to link to all four files all at once.
Something like this?: <script type="text/javascript" src="javascript/1.js, 2.js, 3.js, 4.js"> </script>
one for the date, one to open a new window, one with an alert message, and one for a photograph slideshow. The first three are accessible on all my pages, and the last one is used on only one page.
Right now, each of these functions is in a seperate file, and it's kind-of bulky in the <head> section.
I'm wondering if:
-I should put all of the functions in the same file.
OR -is there a way to link to all four files all at once.
Something like this?: <script type="text/javascript" src="javascript/1.js, 2.js, 3.js, 4.js"> </script>