Hi,
if (grad_scroll<-160) grad_scroll = 150;
grad_scroll --;
document.getElementById("textascroller").style.top = grad_scroll;
grad_scroll contains a number. style.top expects to get a length, i.e. a number followed by a unit like px, em, %, ex, pt...
Change that line to
document.getElementById("textascroller").style.top = "" + grad_scroll + "px";
cu,
Andreas
--
MudGuard? Siehe http://www.mud-guard.de/
MudGuard? Siehe http://www.mud-guard.de/