Great plugin. Couple recommendation: - The addition of mousewheelup/mousewheeldown methods. - The standardization of an event.detail and/or event.wheelDelta (IMO, I think wheelDelta makes more sense). This way you can access the same property in all browsers.
Do you still need testing for Opera and Safari? I realize that you said that Safari didn't work, but I'm sure that there's a couple of us here who can research into this some more, to find a good cross-browser solution. Keep up the great work! --John On 9/28/06, Brandon Aaron <[EMAIL PROTECTED]> wrote: > I've finished my mousewheel plugin + docs + test/example. > > The example/test page: > http://brandonaaron.net/jquery/mousewheel/mousewheel.html > The code: http://svn.brandonaaron.net/svn/jquery_plugins/mousewheel.js > The blog entry: > http://brandonaaron.net/articles/2006/09/28/jquery-plugin-mousewheel > The blog entry is just me rambling a little bit. The inline docs are > probably better. > > The biggest annoyance/issue was that Firefox/Mozilla doesn't allow the > DOMMouseScroll event to be cancelable. So I had to hack around it but > finally figured out a way to allow the default to be prevented. > > BTW, this uses the $().hover method and it has a bug that I've logged > and supplied a patch for here: http://jquery.com/dev/bugs/bug/222/ > > As this is my first plugin, if there is anything I should do > differently or any enhancements I could make (or if you find any bugs) > just let me know. :) > > Brandon Aaron _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/