PDA

View Full Version : Javascript


Mac
08-28-2001, 04:25 PM
When pre-loading JS files, can you pre-load multiple ones? If so what would the header look like? How do you reference them in the header?

scoutt
08-28-2001, 04:37 PM
<script LANGUAGE="JavaScript" src="code.js"></script>

<script LANGUAGE="JavaScript" src="code2.js"></script>

that works

Mac
08-28-2001, 05:09 PM
Thanks much!

cloud9
08-28-2001, 05:16 PM
Originally posted by Mac
Thanks much!


note that JS files load serially and not two or more at a time (like images) no in some cases it is quicker to merge the two JS files into one.

:D clever cloud