Results 1 to 3 of 3

Thread: fade in slideshow.

  1. #1
    Join Date
    Aug 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default fade in slideshow.

    I tried to do the fade in slideshow for my blog. It worked at first but somehow it's not opening nowadays. It's just a blank space. i wonder what i did wrong.
    My blog is http://lindatjoa.blogspot.com/

    i need help..
    Last edited by linda_tjo4; 09-03-2005 at 04:55 PM. Reason: typing error

  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 added a countdown script and that created a conflict. Here's how I recommend you fix that - change this (at the end of the slideshow script):
    Code:
    if (ie4||dom)
    window.onload=startit
    else
    setInterval("rotateimage()",pause)
    to this:
    Code:
    if (ie4||dom){
    if ( typeof window.addEventListener != "undefined" )
        window.addEventListener( "load", startit, false );
    else if ( typeof window.attachEvent != "undefined" ) {
        window.attachEvent( "onload", startit );
    }
    else {
        if ( window.onload != null ) {
            var oldOnload = window.onload;
            window.onload = function ( e ) {
                oldOnload( e );
                startit();
            };
        }
        else
            window.onload = startit;
    }
    }
    else
    setInterval("rotateimage()",pause)
    There are simpler ways but, this will enable it to interact well with a greater variety of possible future changes to the page.
    - John
    ________________________

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

  3. #3
    Join Date
    Aug 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hey it works now.. thanks so so much..u rock!!

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
  •