Hi!
Does anyone know how I can:
1. Determine if a captured scroll event is horizontal or vertical?
(I'm using <body onscroll="..."> to handle the scrolling)
2. Stop the scrolling from the event handler i.e. if the event handler "decides" 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
Does anyone know how I can:
1. Determine if a captured scroll event is horizontal or vertical?
(I'm using <body onscroll="..."> to handle the scrolling)
2. Stop the scrolling from the event handler i.e. if the event handler "decides" 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