Results 1 to 4 of 4

Thread: Problem with conveyer belt script

  1. #1
    Join Date
    May 2006
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem with conveyer belt script

    1) Conveyer Belt Script
    2) http://www.dynamicdrive.com/dynamici...rightslide.htm
    3)Script does not work at all in the page I need it in (http://summitwebpages.com/pp/). I just put it at the bottom of the page for now - all that is there is the gray background - no images. However, in this test page, it works fine: http://summitwebpages.com/pp/slides.html. Any idea what could cause it not to work in the first page? Thanks.

  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

    You've got an onload conflict with your menu script. The menu is pretty complicated so, let's hope this method of dealing with things works, usually does. In the conveyor script, replace:

    Code:
    window.onload=fillup
    with:

    Code:
    if ( typeof window.addEventListener != "undefined" )
        window.addEventListener( "load", fillup, false );
    else if ( typeof window.attachEvent != "undefined" )
        window.attachEvent( "onload", fillup );
    else {
        if ( window.onload != null ) {
            var oldOnload = window.onload;
            window.onload = function ( e ) {
                oldOnload( e );
                fillup();
            };
        }
        else
            window.onload = fillup;
    }
    - John
    ________________________

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

  3. #3
    Join Date
    May 2006
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    John,

    Thanks so much for your response! That did the trick! I figured it was probably some sort of conflict with the menu script, but I don't fully understand what was happening and how your code fixes the problem, but it does! Thanks again!

    Bob

  4. #4
    Join Date
    Apr 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hey John,
    I am having the same problem with the grey area coming up. I my text editor,Frist Page 2006
    I used the code you recommended and it still shows up grey.

    When I load it on my website it doesn't do anything PERIOD

    Can You Help?
    www.jamesjewels.net/wirewraprings

    Thanks,
    dreamer

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
  •