rangerjoe
12-10-2007, 05:33 PM
Script: AnyLink Drop Down Menu
http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm
I'm using individual menu bar images and I have the dropdowns working without a problem, but I'd like to have a 3rd tier dropdown to further branch out my drop downs. Does anyone know how to do this?
Here's my setup:
I have a php file that contains all of the menu bar images (my HTML code references that php file as an includes file), here's an example of the code for each image:
<a href="http://www.cnn.com" onMouseover="dropdownmenu(this, event, menu1, '120px')" onMouseout="delayhidemenu()"><img src="../images/cnn-menu.gif" alt="CNN" border="0" /></a>
And here is the js file code I'm using for the menu bar drop downs:
var menu1=new Array()
menu1[0]='<a href="http://www.cnn.com/WORLD/">CNN World</a>'
menu1[1]='<a href="http://www.cnn.com/POLITICS/">CNN Politics</a>'
menu1[2]='<a href="http://www.cnn.com/HEALTH/">CNN Health</a>'
Id' like to be able to branch out one of these. For example, when doing a mouseover of "CNN Health", I'd want it to then branch out to "Fitness", "Diet", "Exercise", etc.
Can someone please help me with this?
Thanks alot,
Joe
http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm
I'm using individual menu bar images and I have the dropdowns working without a problem, but I'd like to have a 3rd tier dropdown to further branch out my drop downs. Does anyone know how to do this?
Here's my setup:
I have a php file that contains all of the menu bar images (my HTML code references that php file as an includes file), here's an example of the code for each image:
<a href="http://www.cnn.com" onMouseover="dropdownmenu(this, event, menu1, '120px')" onMouseout="delayhidemenu()"><img src="../images/cnn-menu.gif" alt="CNN" border="0" /></a>
And here is the js file code I'm using for the menu bar drop downs:
var menu1=new Array()
menu1[0]='<a href="http://www.cnn.com/WORLD/">CNN World</a>'
menu1[1]='<a href="http://www.cnn.com/POLITICS/">CNN Politics</a>'
menu1[2]='<a href="http://www.cnn.com/HEALTH/">CNN Health</a>'
Id' like to be able to branch out one of these. For example, when doing a mouseover of "CNN Health", I'd want it to then branch out to "Fitness", "Diet", "Exercise", etc.
Can someone please help me with this?
Thanks alot,
Joe