Page is a not externally linkable
Ed_Gibbon - 1:57 am on Sep 12, 2002 (gmt 0)
What are you thoughts on putting this javascript into a separate file, something like banner.js and then calling that with <SCRIPT LANGUAGE="JavaScript" SRC="banner.js"> </SCRIPT> from each page that should have the ad. I have a couple hundred pages that I want to place the advertising on. The javascript is the same for every page. There is not a separate code for each page, no random number or anything. I am thinking that putting the javascript into a separate file would save space on the server, and might also make pages load faster once the script is cached in the visitor's browser and the visitor is loading the second (third, fourth, etc.) page from my site. Is this correct? Are there any downsides to this? Also there is a <NOSCRIPT> </NOSCRIPT> portion of the banner code. Is there any way it can be included in the separate file? I am new at this and just feeling my way. Thanks!
I affiliate with an advertising provider that gives me some javascript code that I place on my webpages.