For scrollbar events, please see 
http://bugzilla.mozilla.org/show_bug.cgi?id=35011

Thomas Prehn wrote:

> Hi all!
> 
> I'm in the middle of an information retrieval project, and need a bit
> of help.
> 
> I'm trying to make an xpcom-object, that will be notified whenever an
> interesting event is triggered by the user in the browser. Some of the
> events can be captured by modifying the . Among these events are
> clicks on javascript (navigator.js) that is executed when the user
> navigates the browserthe forward/back, print, reload, stop buttons.
> 
> I also need to be able to capture when the user scrolls on the page
> (scroll-event), and it seems that no javascript is executed by the
> browser when this event happends.
> 
> I now have two question:
> 
> 1. Does someone know if mozilla actually also executes a javascript
> function upon a scroll-event? (and in that case, which one?)
> 
> 2. Is there an alternative to javascript when capturing these sort of
> events in Mozilla?. I believe it is possible to make an xpcom-object
> an event-listener. I do however, find the info from the xulplanet
> xpcom-reference to be quite.. hmm.. sparse. :P
> 
> any help would be gladly apreciated!!
> 
> regards
>  Thomas Prehn
> 


Reply via email to