Adding hoverintent to an all-CSS dropline menu
How do you apply a hover intent to this all css menu? I really need help with this issue!!!!!!!!
http://www.sohtanaka.com/web-design/horizontal-sub-nav-with-css-jquery/
Found these two sites but I have no idea how to apply the code to my menu or if it is what I need. http://cherne.net/brian/resources/jquer开发者_JS百科y.hoverIntent.html http://users.tpg.com.au/j_birch/plugins/superfish/#getting-started
The hoverIntent plugin works by observing and emulating Javascript events. Pure-CSS menus don't use Javascript eventing, so it is impossible to combine the two.
To the best of my knowledge, it is not possible to implement a delay in pure-CSS menus, as CSS doesn't track events, only state. You may be able to get somewhere with CSS animations, but even if they make it possible, it will be a less portable solution than switching to JS-assisted menus and using hoverIntent.
精彩评论