JavaScript
  Home arrow JavaScript arrow Dynamic Drop-down Menus: Javascript Progre...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Dynamic Drop-down Menus: Javascript Progressive Enhancement
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2010-07-28

    Table of Contents:
  • Dynamic Drop-down Menus: Javascript Progressive Enhancement
  • Review: the sample menu in its current state
  • Building a dynamic version of the menu
  • The menu’s full source code

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Dynamic Drop-down Menus: Javascript Progressive Enhancement


    (Page 1 of 4 )

    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.

    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!

    More JavaScript Articles
    More By Alejandro Gervasio


       · This last part of the series on Progressive Enhancement shows how to implement the...
     

    JAVASCRIPT ARTICLES

    - Google Ajax APIs: Building a Navigation Bar ...
    - Easing jQuery Plug-in: Using the easeOutBack...
    - jQuery Easing Plug-in: Building a Navigation...
    - Easing jQuery Plug-In: Fixing Access Issues ...
    - Easing jQuery Plug-in: Implementing the Beha...
    - jQuery Easing Plug-in: Building an Animated ...
    - Dynamic Drop-down Menus: Javascript Progress...
    - Creating Drop-down Menus Using Progressive E...
    - Building Slide Shows Using Progressive Enhan...
    - Form Validation with Progressive Enhancement...
    - Validating Web Forms: an Introduction to Pro...
    - Ajax Progressive Enhancement: Reading Remote...
    - Ajax Image Requests: Progresive Enhancement ...
    - jQuery Image Gallery: Working with Progressi...
    - Progressive Enhancement in an Image Gallery





     


     


    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek