stop denne scroll
Hey y'allHvordan laver jeg en funktion scrolloff(); der stopper scrollen når jeg kalder OnMouseOver="scrolloff();".
var container = (document.all) ? holder.style:document.holder;
var pix_to_move = 1;
speed = 50;
container.left = 602
container.top = 122
if (document.all) { scroll_div = scroller.style; }
if (document.layers) { scroll_div = document.holder.document.scroller; }
loop=0;
if (document.all) { repeat = 262; }
if (document.layers) { repeat = 292; }
function scrollit()
{
scroll_div.top = 140 - loop;
loop += pix_to_move;
the_timeout = setTimeout("scrollit()", speed);
if (loop >= repeat) { loop=0; }
}
scrollit();
