JavaScript
  Home arrow JavaScript arrow Finishing a Collapsible Navigation Bar wit...
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

Finishing a Collapsible Navigation Bar with CSS and JavaScript
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-10-13

    Table of Contents:
  • Finishing a Collapsible Navigation Bar with CSS and JavaScript
  • The scrollable bar’s structural markup
  • Building a glitch-free scrollable navigation bar: using the “blind” animation effect of Scriptaculous
  • The scrollable navigation bar'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


    Finishing a Collapsible Navigation Bar with CSS and JavaScript


    (Page 1 of 4 )

    Welcome to the final tutorial of a series on building a dynamic navigation bar with CSS and JavaScript. This series of articles steps you through the development of a dynamic navigational system. We use the combined functionality of the popular Prototype and Scriptaculous JavaScript libraries, without compromising overall accessibility.

    Now that you know what this series is about, let me go straight to the point and remind you of the concepts deployed in the preceding article. In that particular tutorial I explained how to construct a useful navigation mechanism for a web site, which could be easily hidden from users by way of a neat scrolling effect.

    In this specific case, the scrolling was performed by means of a simple JavaScript method bundled with the Scriptaculous DHTML framework. This method is very useful when it comes to animating different elements of a web page.

    Well, at this point you’re pretty familiar with building a scrollable navigation bar like the one developed in the previous article of the series. However, there’s an additional issue that needs to be addressed regarding the way that this navigation bar works. If you test the navigation bar in its current state, you’ll see that its links don't scroll with it. They remain static across the entire scrolling process, which looks rather unprofessional.

    Thus, in this last installment of the series I’m going to show you how to fix this small bug, thus completing the development of this scrollable navigational bar.

    With the preliminaries out of our way, it’s time to tackle the final episode of this educational journey. Let’s get going!

    More JavaScript Articles
    More By Alejandro Gervasio


       · Over this last installment of the series the development of the previous scrollable...
     

    JAVASCRIPT ARTICLES

    - Using jQuery to Preload Images with CSS and ...
    - Using Client-Side Scripting to Preload Image...
    - Removing Non-Semantic Markup when Preloading...
    - Using the Display CSS Property to Preload Im...
    - Preloading Images with CSS and JavaScript
    - Scaling and Moving Web Page Elements with th...
    - Fading, Hiding and Sliding HTML Elements wit...
    - Toggling CSS Properties with the GX JavaScri...
    - Cancel, Queue and Pause Animations with the ...
    - Producing Elastic Effects with the GX JavaSc...
    - Moving Divs Diagonally with the GX JavaScrip...
    - Moving Elements Vertically and Horizontally ...
    - Making Bouncing Effects in Parallel with the...
    - Creating Bouncing Effects with the GX JavaSc...
    - Manipulating Background Colors with the GX J...







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