[Javascript] Scrolling text

Iztok Polanic iztokp at amis.net
Sun Aug 4 05:43:10 CDT 2002


Hi!

I've written a code which scrolls text vertically. But now when a user
triggers OnmouseOut event the scroller should stop where it is. How to do
this?  Here is the code:

function moveUp()
{
 if (tblSize >= size) {
  if (tblSize_2 >= counter1) {
   counter1 += 10;
   document.getElementById('scrollIt').style.top = -counter1;

  setTimeout("moveUp()",200);
  }

 }
}



Bye,

Iztok




More information about the Javascript mailing list