View Single Post
  #9 (permalink)  
Old 10-28-2003, 10:20 AM
paulhiles's Avatar
paulhiles paulhiles is offline
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: UK
Posts: 2,803
paulhiles RepRank 0
Default Re: Good to know...

Quote:
Originally Posted by cyberious
I didn't realize that could make such a difference! (nor did I realize they were there.) Does this mean, you can't put code into the .js file for future use - say a button you're not using yet?
You could put additional code into your script if you wanted.. that wouldn't be a problem at all... the example page above uses just a few rollovers... but it still includes your entire rollover script. The only problem occurs when the page is calling for a variable that doesn't exist (i.e. hasn't been declared in the code)

Paul
Reply With Quote