Javascript Reference
Categories: onscroll

javascript onscroll Description

@April 4, 2009, 2:58 a.m.
onscroll Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM 2  
  Bubbles: No; Cancelable: No  

Fires each time an element displaying scroll bars executes a scroll, either by user action or script control. If a user drags the scroll bar thumb, the event fires repeatedly during the dragging motion, but the frequency of event firings depends on system speeds.

 
Typical Targets

All rendered elements that can have scrollbars by default (such as textarea and window objects), plus any element that has its overflow style sheet attribute set to scroll.

Fires each time an element displaying scroll bars executes a scroll, either by user action or script control. If a user drags the scroll bar thumb, the event fires repeatedly during the dragging motion, but the frequency of event firings depends on system speeds.

Typical Targets

All rendered elements that can have scrollbars by default (such as textarea and window objects), plus any element that has its overflow style sheet attribute set to scroll.
sdaf - 2011-01-12

Powered by Linode.