Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preload images disables x.js

Status
Not open for further replies.

maxformed

Technical User
Apr 22, 2003
168
US
Using a script from cross-browser.com - x.js - to adjust layout so that columns are equal and maximum window height. However, when I insert the MM_preloadImages function, it takes precedence (i.e., x.js stops working). I'm assuming it's because the adjust layout uses window.onload and the preload images is called in the body onLoad. Any suggestions? I've posted a test version of the problem page at htp://artechllc.com/aboutUsPRE.html

Thanks,
Max

 
You may run into problems if you have more than one body onload event handler. You should wrap all the code that needs to be executed into functions, then onload call one function that calls all the other functions



on error goto hell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top