[Javascript] scroll event

Hakan M (Backbase) hakan at backbase.com
Wed Jan 26 04:57:09 CST 2005


>>How to capture onScroll event in firefox. window.oncroll = function;
>>doesn't work in firefox :(
> 
> The scroll event only fires when you scroll by dragging the scrollbar,
> not when you use the arrow keys or the mouse wheel. So the scroll
> event is very badly supported in Mozilla.

True, but on the other hand, you could probably solve it by defining 
your own setter for the scrollTop and scrollLeft properties?



More information about the Javascript mailing list