Diva Help Pages
Drow Down Menu 2
What do I need to
know about This Drop Down Menu?
This type of Drop Down Menu is identical
to the first one. The only difference is that now this menu is Static,
meaning it will follow the scroll bar as you scroll.
Script from Dynamic Drive - DHTL
Resources
The only thing you need to change to make the first menu Static is the
line in your html document that tells the document to either move or stay
put. I have highlighted it in yellow.
//Top Nav Bar
I v2- By Constantin Kuznetsov Jr. ([email protected]) //Modified
by Dynamic Drive for NS6/Opera6 compatibility and code streamlining March
4th, 2002 //Visit http://www.dynamicdrive.com for this script var keepstatic=1
//specify whether menu should stay static (works only in IE4+) var menucolor="#575735"
//specify menu color var submenuwidth=150 //specify sub menus' color </script>
By Putting 1 in the Attribute for the static menu, the menu will continually
move down the page as you scroll.
If you put a 0 in that line, the menu remains at the top of the page. This
coding is for the inside the html file you are putting the menu on.
|