View Single Post
  #1 (permalink)  
Old 01-24-2008, 06:09 PM
batterdmooie batterdmooie is offline
Member
 
Join Date: Jan 2008
Posts: 1
batterdmooie is on a distinguished road
javascripts overrides other javascripts.
Hi,

I have been looking on the web about this problem, and it seems to pop up quite offten. My problem is this:

I have 2 scripts that override each other. I would like to combine them into one script.
I have combined scripts previously by adding this code at the bottom:

Code:
function start() { tablecloth(); scrollovers_Init();; } window.onload = start;
Whats throwing me is that in script2 there is no "window.onload" only this at the bottom of the script:

Code:
window.addEvent('domready', Lightbox.init.bind(Lightbox));
Attached are the two scripts, so any help in combining them would be great.

Cheers

Russ
Attached Files
File Type: zip scripts.zip (14.9 KB, 2 views)
Reply With Quote
Sponsored Links