OK, a problem here is that the script is already partially written to avoid conflicts onload. By commenting out just the last part of that language:
Code:
if (window.addEventListener)
window.addEventListener("load", changecontent, false)
else if (window.attachEvent)
window.attachEvent("onload", changecontent)
else if (document.getElementById)
//window.onload=changecontent
and adding the event onload to the body tag, you've created a situation where the event is either loaded twice or not at all, depending upon the browser used. I'd get rid of the onload event from the body tag and replace the entire code I've included above with:
Code:
if ( typeof window.addEventListener != "undefined" )
window.addEventListener( "load", changecontent, false );
else if ( typeof window.attachEvent != "undefined" ) {
window.attachEvent( "onload", changecontent );
}
else {
if ( window.onload != null ) {
var oldOnload = window.onload;
window.onload = function ( e ) {
oldOnload( e );
changecontent();
};
}
else
window.onload = changecontent;
}
This will get rid of that problem. There may be others but, this is probably it as concerns the 'Fading scroller' script.
Bookmarks