PDA

View Full Version : Anylink Vertical Menu - 2nd menu item not showing mouseover links



Marva
11-20-2007, 07:29 PM
1) Script Title: Anylink Vertical Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/anylinkvertical.htm

3) Describe problem: I've set the menu1 and it's working great, but when I make menu2, none of the submenus are visible. (see site code here (http://www.maidadesign.com/preview/MaltaImports/).)

I've changed the menu 2 items in the js

//Contents for menu 2
var menu2=new Array()
menu1[0]='<a href="http://www.maltaimports.net/.com/antipastieraDishes">Antipastiera Dishes</a>'
menu1[1]='<a href="http://www.maltaimports.net/.com/tilesMurals">Customised Tiles and Murals</a>'
menu1[2]='<a href="http://www.maltaimports.net/.com/decorativePlates">Decorative Plates</a>'
menu1[3]='<a href="http://www.maltaimports.net/.com/dinnerSets">Dinner Sets</a>'
menu1[4]='<a href="http://www.maltaimports.net/.com/fruits">Fruit</a>'
menu1[5]='<a href="http://www.maltaimports.net/.com/kitchenAccesories">Kitchen Accesories</a>'
menu1[6]='<a href="http://www.maltaimports.net/.com/teaCoffee">Tea and Coffee Sets</a>'
menu1[7]='<a href="http://www.maltaimports.net/.com/volcanicTables">Volcanic Tables</a>'

and I've changed the mouse over code to menu2 in the body:

<p><a title="Malta Imports" href="index.htm">Home</a></p>
<a title="Medina Glassware" href="mdineGlass.htm" onmouseover="dropdownmenu(this, event, menu1, '165px')" onmouseout="delayhidemenu()">Mdina Glassware</a>
<p><a title="Bristow Potteries" href="bristowPotteries.htm" onmouseover="dropdownmenu(this, event, menu2, '165px')" onmouseout="delayhidemenu()">Bristow Potteries</a></p>
<p><a title="Contact Us" href="contact.htm">Contact Us</a></p>

Do I need to change anything else? Any help would be appreciated. Thanks.

Marva
11-20-2007, 08:11 PM
Duh. I just figured it out. Change to:

menu2[0]='<a href="http://www.maltaimports.net/.com/antipastieraDishes">Antipastiera