moss2076
10-19-2005, 06:09 PM
Hi there this is my first post!!
I have 2 scripts which I need to use on my webpage. Both scripts use the "window.onload=changecontent" command and this is causing a conflict between them.
I am aware that I can remove the "window.onload=changecontent" command and put it into the "<body onload="something1();something2();"> event to stop conflicts, but how do get both to work when the "window.onload=changecontent" is the same for both scripts? I know I can't do "<body onload="changecontent();changecontent();">
Any help would be greatly appreciated and this is my first post :)
I have 2 scripts which I need to use on my webpage. Both scripts use the "window.onload=changecontent" command and this is causing a conflict between them.
I am aware that I can remove the "window.onload=changecontent" command and put it into the "<body onload="something1();something2();"> event to stop conflicts, but how do get both to work when the "window.onload=changecontent" is the same for both scripts? I know I can't do "<body onload="changecontent();changecontent();">
Any help would be greatly appreciated and this is my first post :)