* jack2wsx wrote:
>I have used the scrollBars.js script and I am trying to update it to
>work with the mousewheel but it seems to ignore the event listener.
>Here is the code I :
>
>sbMake()
>sbSync()
>var re = document.rootElement
>re.addEventListener( "SVGScroll", sbSync, false )
>re.addEventListener( "SVGResize", sbSync, false )
>re.addEventListener( "SVGZoom", sbSync, false )
>re.addEventListener( "mousewheel", sbStartDragVS, false)
>
>The sbStartDragVS function begins with an alert("mousewheel!!") but
>the message never appears. I have tried variations with no success:
That is probably because "it" does not support the, as it stands, non-
standard "mousewheel" event or does not dispatch it the way you think
it should.
--
Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/