Results 1 to 2 of 2

Thread: Conveyor belt slideshow problem

  1. #1
    Join Date
    Mar 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Conveyor belt slideshow problem

    1) Script Title: Conveyor belt slideshow

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rightslide.htm

    3) Describe problem: I created a very simple banner/slideshow using the conveyor belt slideshow script, which works fine on it's own:

    http://evanced.info/bocaraton/evance...tonbanner.html

    But, when inserted into another page, it doesn't work:

    http://evanced.info/bocaraton/evance...ntcalendar.asp

    Any ideas?

    Thank you.

  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

    An onload conflict. In the script change:

    Code:
    window.onload=fillup
    to:

    Code:
    if (window.addEventListener){
    	window.addEventListener('load', fillup, false);
    }
    else if (window.attachEvent){
    	window.attachEvent('onload', fillup);
    }
    - 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
  •