PDA

View Full Version : Java script conflict (Sound & conveyor slideshow)



roxanne
09-27-2005, 05:23 PM
Hello. I have a page with a java sound on button mouseover. All was working fine. Then I added a java conveyor belt slideshow and the sound stopped working. Have tried everything I possibly know, is there a deal that java scripts are not all compatible?

Thanks, I am trying to upload the page today but really have some funny sounds I would like to include. Thanks for your help.

jscheuer1
09-27-2005, 09:41 PM
Yes, they can conflict. There are many reasons and, at times, it can be more than one, but the most common is conflicting onload statements. From looking at your code, I'd try removing this:

onload=auPreload;from the sound script and changing this:

window.onload=fillupfrom the Conveyor belt slideshow script to:

window.onload=function(){
auPreload();
fillup();
}If that doesn't get it, then there is more at work here.