Home arrow JavaScript arrow Building a Drop-Down Menu with the HoverIntent jQuery Plug-in
JAVASCRIPT

Building a Drop-Down Menu with the HoverIntent jQuery Plug-in


In this final part of a six-part series on using the hoverIntent jQuery plug-in, you will learn how to easily implement delayed rollovers on your web pages as part of a larger drop-down menu. As you'll see, such rollovers are in general more accessible than the ones created using a standard approach.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 3
June 07, 2010
TABLE OF CONTENTS:
  1. · Building a Drop-Down Menu with the HoverIntent jQuery Plug-in
  2. · Building the menu's structural markup
  3. · Defining the visual presentation and dynamic behavior of the sample menu
  4. · Binding the CSS styles and JavaScript code to the menu's markup

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Building a Drop-Down Menu with the HoverIntent jQuery Plug-in
(Page 1 of 4 )

If you're one of the many web designers who use jQuery for adding dynamic behavior to elements on your (X)HTML pages, then you may want to take an in-depth look at its "hoverIntent" plug-in. This compact and powerful library, created by Brian Cherne, will let you build fully customizable delayed rollovers in a snap without having to directly face the inherent complexities of plain JavaScript timers.

Naturally, if you've been a faithful follower of this article series, you now have a solid background in using the most relevant features provided by "hoverIntent." In previous tutorials I covered different capabilities that the plug-in offers, ranging from creating rollovers using its default configuration, to tweaking its optional arguments, such as polling intervals and sensitivity, and even delays added to "mouseout" events.

It's valid to point out, however, that all of the code samples created in preceding parts of the series used only a simple div to demonstrate how useful "hoverIntent" can be for building accessible rollovers. But of course, this doesn't imply that the plug-in should always be utilized in such a limited way. As you may guess, "hoverIntent" can be used in all sorts of situations (without abusing of it, by the way); one classic example where its implementation can be really beneficial is the development of more usable and accessible drop-down menus.

With that idea in mind, in this final installment of the series I'm going to show how to take advantage of "hoverIntent" for building a flexible navigational menu. It will be very easy to customize to fit different requirements and needs.

Ready to learn how to use this handy plug-in in a real-world project? Then jump ahead and start reading right now!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 10 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials