Thank you. That really means a lot! :) I had a similar need about 6 months ago. A client wanted a lot of information displayed in a tooltip, and there was the possibility of ~30 tooltips per page. We couldn't load all of that data at one time, so I wrote the beginnings of this script in pure, custom JavaScript. Since then I've found a few other instances where I've wanted something similar, but didn't want to rewrite my custom code for another custom use.
Then, in January, I met jQuery... I found the hover function... and at some point I realized my "determine user intent" script was really a modified version of hover, and I challenged myself to hack it and make my first plug-in. jQuery not only provided that crucial second-stage of inspiration, but it enabled me to write this plug-in in the most abstract/re-usable way... and then provide me with a mechanism for packaging it up and distributing it to the community. ...so empowering! I guess this is my long-winded way of saying I agree with you. jQuery has made coding JavaScript and building interactive sites/applications pleasurable. :) ...and I'm glad someone else is finding a use for my plug-in. Thanks again. Brian. On 3/28/07, Theo Welch <[EMAIL PROTECTED]> wrote:
Great work, Brian! Thanks for sharing this really helpful plug-in! On a site I am building (NDA'd) I am currently using setTimeout() to delay drop-down menu appearance (and disappearance) to avoid that "flicker" problem so common with drop-downs. It actually works quite well. But hoverIntent creates an even more intuitive and slick UI. I find that "insignificant" interface details like this can really make a website a pleasurable (or awful) to use. And it is jQuery with flexible plugins like yours that make websites a pleasure to build. Cheers, -THEO- On Mar 28, 2007, at 2:25 AM, Brian Cherne wrote: I'm happy to announce that my first plug-in, hoverIntent, is ready for general use. < http://cherne.net/brian/resources/jquery.hoverIntent.html > hoverIntent is a function that attempts to determine the user's intent onMouseOver. It works like, was derived from and is interchangeable with jQuery's built-in hover. However, instead of immediately calling the onMouseOver function, hoverIntent tracks the user's mouse and waits until it slows down enough before making the call. hoverIntent r5 ... is $-friendly ... has configurable options ... has onMouseOut timeout option Thanks for all the feedback from before. I hope this is the first of many plug-ins. :) Brian. P.S. How does one get their plug-in linked to from the jQuery plug-ins page? _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/