Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

capturing the scrolling event

Status
Not open for further replies.

ronsig

Programmer
May 24, 2001
54
IL
Hi!

Does anyone know how I can:

1. Determine if a captured scroll event is horizontal or vertical?

(I'm using <body onscroll=&quot;...&quot;> to handle the scrolling)

2. Stop the scrolling from the event handler i.e. if the event handler &quot;decides&quot; the scroll should be aborted, it does not occur.

3. Prevent the user from wildly scrolling (by dragging the scrollbar with the mouse) - this causes many scroll events and since I'm writing content on-the-fly, the resulting delay is too big if I handle all this writings

Thanks,
Ron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top