1. Home
  2. Computing & Technology
  3. JavaScript
photo of Stephen Chapman
Stephen's JavaScript Blog

By Stephen Chapman, About.com Guide to JavaScript since 2004

Sliding Menu

Thursday March 5, 2009
Keep your navigation links out of the way until they are required using JavaScript.

People visit your web page to read the content of the page. The navigation options that you place on the page to allow them to move to other pages on your site are necessary when your visitor is actually navigating around your site to find the info they are looking for but when they are actually reading that content the navigation just gets in the way. By having most of the menu slide off of the screen except when it is needed we can free up more space for displaying the content that our visitors want to read.

Sliding Menu
Comments
April 9, 2007 at 3:56 pm
(1) Ryan says:

The .js sliding menu: How can I adjust this great code to simply disable the slide functionality, but keep the distance from top the same?

Thanks–

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.