Log in

View Full Version : fade in slideshow.



linda_tjo4
09-03-2005, 04:55 PM
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.. :eek:

jscheuer1
09-03-2005, 06:36 PM
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):

if (ie4||dom)
window.onload=startit
else
setInterval("rotateimage()",pause)to this:

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.

linda_tjo4
09-04-2005, 04:10 AM
hey it works now.. thanks so so much..u rock!!