home / experts / javascript / column32 |
|
The event handlers are consistent between the two browsers. To pause the scroll while a user mouses over the scrolling box, we added two event handlers to the scrolling pages,
and similarly for the second page:
The onmouseover event occurs when the mouse is placed over the scroll box. The onmouseout event occurs when the mouse is removed from the scroll box area. The event handler for the onmouseover event is the scrollPages() function which has been discussed on the previous page. It starts the pages going, just as the invocation of the program does in the first place:
The
|
Produced by Yehuda Shiran and Tomer Shiran
Created: December 21, 1998
Revised: December 21, 1998
URL: http://www.webreference.com/js/column32/stop.html