Ok, try replacing the 3 functions "initbox()", "dropin()" and "bouncein()" with the below modified instead:
Code:
function initbox(){
if (!dom&&!ie&&!ns4)
return
crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin
scroll_left=(ie)? truebody().scrollLeft : window.pageXOffset
crossobj.left=scroll_left-parseInt(crossobj.width)+calunits
crossobj.visibility=(dom||ie)? "visible" : "show"
dropstart=setInterval("dropin()",50)
}
function dropin(){
scroll_left=(ie)? truebody().scrollLeft : window.pageXOffset
if (parseInt(crossobj.left)<200+scroll_left)
crossobj.left=parseInt(crossobj.left)+40+calunits
else{
clearInterval(dropstart)
bouncestart=setInterval("bouncein()",50)
}
}
function bouncein(){
crossobj.left=parseInt(crossobj.left)-bouncelimit+calunits
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)
}
}
That should do it.
Bookmarks