Untested:
To start it with a delay, change this:
Code:
if (window.addEventListener)
window.addEventListener("load", changecontent, false)
else if (window.attachEvent)
window.attachEvent("onload", changecontent)
else if (document.getElementById)
window.onload=changecontent
to:
Code:
function startWithDelay(){
setTimeout("changecontent()", 10000);
}
if (window.addEventListener)
window.addEventListener("load", startWithDelay, false)
else if (window.attachEvent)
window.attachEvent("onload", startWithDelay)
else if (document.getElementById)
window.onload=startWithDelay
The red 10000 is the number of milliseconds delay, 10000=10 seconds.
Bookmarks