JavaScript
  Home arrow JavaScript arrow Creating Drop-down Menus Using Progressive...
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

Creating Drop-down Menus Using Progressive Enhancement
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2010-07-27

    Table of Contents:
  • Creating Drop-down Menus Using Progressive Enhancement
  • Review: using Progressive Enhancement when building a slide show
  • Using PE when building a hierarchical drop-down menu
  • Defining the menu's visual presentation

  • 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


    Creating Drop-down Menus Using Progressive Enhancement


    (Page 1 of 4 )

    In this penultimate installment of the series, I develop a hierarchical drop-down menu, which will use the capabilities offered by jQuery to expand and contract its subsections. Since the entire building process follows the model imposed by Progressive Enhancement, the menu will be completely functional even though it currently lacks, for reasons that will become obvious, truly “dynamic” behavior.

    Considering the dynamic nature of the web today, where engaging JavaScript-based user interfaces and Flash animations are nearly everywhere, it seems that developing web applications that are conceived to work with a minimal set of hardware/software requirements looks like a rather old fashioned approach. Well, I have to say that this is only a misconception. In fact, this approach, commonly known as Progressive Enhancement (PE), is one of the big pillars of modern web design. It allows you to create websites that are much more accessible and usable than average.

    It's fair to note, however, that highlighting the benefits provided by PE without showing how to implement it in some realistic use cases is pointless. To tackle this issue, in previous installments of this article series I coded some approachable examples that hopefully demonstrated how to create a few typical web applications, including image galleries, form validators and slide shows, which used PE to maintain their core functionality untouched, even if JavaScript was disabled on the browser.

    While the examples showed that it's fairly easy to create accessible web programs by sticking to the schema imposed by PE, there are still many other cases where it's possible to use this approach with notable results. One of those cases is the construction of hierarchical menus whose dynamic behavior is added via JavaScript (remember that this can even be done with behavioral CSS). Assuming that the topic has caught your attention, in this penultimate part of the series I'm going to start building a jQuery-based drop-down menu, which, similar to other examples discussed before, will remain entirely functional even if JavaScript is turned off in the client.

    Want to see how this will be accomplished in a few simple steps with PE? Then  begin reading!

    More JavaScript Articles
    More By Alejandro Gervasio


       · This penultimate part of the series demonstrates how to build a jQuery-based...
     

    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 9 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek