1. Home
  2. Computing & Technology
  3. JavaScript

Sliding Menu

1. Introduction and Sample

clr gif
Join the Discussion

Questions? Comments?

More of this Feature

Obtain the Script Make Your Menu

One of the important things to consider when placing navigation links on your web page is just how much of the space on the page will be taken up with your navigation menu and how much is allocated to content. Remember that your visitors are visiting primarily to see the content but need the navigation to be able to find their way around your site.

The ideal solution is to use most of your page to display the content and have a way for your visitor to access the site navigation when they need it. One way to achieve this goal is to place the navigation into a menu box that is mostly hidden off the side of the screen until such time as it is required and which slides into view when needed.

If you want to create your own menulike this then the first thing you need to do is to obtain the script to put into your page.

Introduction | The Script | Make Your Menu
Explore JavaScript
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

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

  1. Home
  2. Computing & Technology
  3. JavaScript

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

All rights reserved.