Hover Intent plugin
I am looking for a solution to analyse mouse movements and decide when to fire actions like tooltips.
In the past, I have been using hoverIntent: http://cherne.net/brian/resources/jquery.hoverIntent.html
From the plugin page: "hoverIntent r5 (the current stable version) was developed over three years ago (March 2007).[...] It works with jQuery 1开发者_运维问答.1.2 through jQuery 1.4.2."
Are there more recent solutions I should consider? Or is hoverIntent still relevant, and compatible with the latest jQuery releases?
Thanks!
I can confirm I am using the most recent available hoverIntent with jQuery 1.5 on a production site, and no issues so far.
jQuery rarely changes/removes much in their API (that will effect existing code). The last thing I can recall being changed was the attribute selector (old XPath style [@att]
to CSS style [att]
).
The $.browser
has been not recommended for a few versions now, and has still not been removed.
As of late Feb 2011 there is a new version of hoverintent (r6) working with newest version of jQuery 1.5.1. Someone must have read your words and taken it as a hint... So I guess it's still relevant. http://cherne.net/brian/resources/jquery.hoverIntent.html
精彩评论