Sandeep's Nook: JavaScript Page

Floating Drop Down Navigation Menu

With the help of this script you can put up a drop down navigation menu on your website in such a way that it floats on the page in any particular location that can be set. The menu hovers at the same place even if you scroll down the page. In the example seen here the drop down navigation menu in yellow is floating on the top right side of the browser window.

Author: Sandeep Gangadharan
Home Page:

The script is given below:

This goes in the HEAD of the html file:

Note the script in the BODY tag:

<body onLoad="placeIt()">

This goes in the BODY of the html file: