You didn't modify the script, I did. But you didn't mention you were using a version modified by someone else. Anyways, go back to just:
Then at the end of the fillup function, find:
Code:
loadedyes=1
if (running){
scrollspeed=defaultspeed
moveleft()
}
}
Change it to:
Code:
loadedyes=1
if (running){
scrollspeed=defaultspeed;
fillup.timer = setTimeout(moveleft, 1000);
}
}
Where 1000 is the delay in milliseconds. You should also add here to both functions as shown:
Code:
function moveleft(){
if (iedom&&loadedyes){
if(fillup.timer)
clearTimeout(fillup.timer);
movestate="left"
if (parseInt(cross_scroll_0.style.left)<(-actualwidth))
cross_scroll_0.style.left=parseInt(cross_scroll_1.style.left)+actualwidth+"px"
if (parseInt(cross_scroll_1.style.left)<(-actualwidth))
cross_scroll_1.style.left=parseInt(cross_scroll_0.style.left)+actualwidth+"px"
cross_scroll_0.style.left=parseInt(cross_scroll_0.style.left)-scrollspeed+"px"
cross_scroll_1.style.left=parseInt(cross_scroll_1.style.left)-scrollspeed+"px"
//showhidediv("visible")
}
lefttime=setTimeout("moveleft()",100)
}
function moveright(){
if (iedom&&loadedyes){
if(fillup.timer)
clearTimeout(fillup.timer);
movestate="right"
if (parseInt(cross_scroll_0.style.left)>0)
cross_scroll_1.style.left=parseInt(cross_scroll_0.style.left)-actualwidth+"px"
if (parseInt(cross_scroll_1.style.left)>0)
cross_scroll_0.style.left=parseInt(cross_scroll_1.style.left)-actualwidth+"px"
cross_scroll_0.style.left=parseInt(cross_scroll_0.style.left)+scrollspeed+"px"
cross_scroll_1.style.left=parseInt(cross_scroll_1.style.left)+scrollspeed+"px"
}
righttime=setTimeout("moveright()",10)
}
Bookmarks