Home arrow JavaScript arrow Dynamic Drop-down Menus: Javascript Progressive Enhancement
JAVASCRIPT

Dynamic Drop-down Menus: Javascript Progressive Enhancement


In this conclusion to a nine-part series on Progressive Enhancement, we'll take the drop-down menu that we designed in the previous part and make its behavior dynamic with the addition of jQuery's "animate()" method. Users with JavaScript disabled on their browsers, however, will still be able to make complete use of the menu.

Author Info:
By: Alejandro Gervasio
Rating: 3 stars3 stars3 stars3 stars3 stars / 3
July 28, 2010
TABLE OF CONTENTS:
  1. · Dynamic Drop-down Menus: Javascript Progressive Enhancement
  2. · Review: the sample menu in its current state
  3. · Building a dynamic version of the menu
  4. · The menu’s full source code

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Dynamic Drop-down Menus: Javascript Progressive Enhancement
(Page 1 of 4 )

If you’re a rather skeptical web designer who’s still reluctant to build your web sites upon the foundations of Progressive Enhancement (PE), then you should reconsider your position. This clever approach will let you add in a step-by-step fashion (hence the term “Progressive”) multiple features to your web pages without having to sacrifice their accessibility.

What’s more, even though the paradigm may seem somewhat intimidating, creating web applications that stick to the model dictated by PE is fairly straightforward process that has to do more with basic common sense than with complex and esoteric principles that are hard to implement in the real world.

To demonstrate the veracity of my statement, in previous parts of this series I created from scratch some simple web programs, such as image galleries, slide shows and form validators, whose core functionality remained intact even when users disabled CSS and JavaScript on their browsers. And if all of these examples still don’t encourage you to get started using PE, in the last tutorial I started constructing a basic drop-down menu, which utilized this approach to working with minimal requirements.

It’s valid to recall, however, that this sample menu is incomplete in its current state. It's still necessary to implement its behavioral layer, so that its sections can expand and shrink in response to “mouseover” and “mouseout” events. That’s exactly what I plan to do in this final episode of the series, so you’ll be able to use the menu’s codebase and tweak it to fit your particular needs.

Are you ready to tackle the last leg of this educational journey on using Progressive Enhancement? Then begin reading right now!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- 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
- Dynamic jQuery Styling

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 5 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials