1. Home
  2. Computing & Technology
  3. JavaScript

Hover Menu

2. Get the Script

clr gif
Join the Discussion

Questions? Comments?

To add the hover to your web page you need to copy both Javascript and stylesheet code into the head section of your page. We'll get the Javascript first.

Once you have copied your code you just save it to an external javascript file. I called mine hovmenu.js.

The next step is to obtain the stylesheet code and then to link both into your page.

Explore JavaScript
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, 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

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

All rights reserved.