Results 1 to 2 of 2

Thread: Java script conflict (Sound & conveyor slideshow)

  1. #1
    Join Date
    Sep 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java script conflict (Sound & conveyor slideshow)

    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.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:
    Code:
    onload=auPreload;
    from the sound script and changing this:
    Code:
    window.onload=fillup
    from the Conveyor belt slideshow script to:
    Code:
    window.onload=function(){
    auPreload();
    fillup();
    }
    If that doesn't get it, then there is more at work here.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •