PDA

View Full Version : Mouseover Image on the "Any Link Vertical Menu"?



vlane95678
11-16-2008, 03:16 AM
1) Script Title: AnyLink Vertical Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nkvertical.htm


3) Describe problem: We are using the script above. We need the sub menus to have a fansy font so we are using graphics for the menus instead of text. When we add an image in the var menu1=new Array() field, we no longer have the highlight effect. We would like to use the mouseover image script in the var menu1=new Array(). Does anyone know how to write this?

here is our standard rollover script, but it needs tweaks to work in the var menu1=new Array():

<a onmouseover="image1.src='Lanitech_Artwork/button_home_on.jpg';" onmouseout="image1.src='Lanitech_Artwork/button_home.jpg';" target="_self" href="index.htm">
<img name="image1" src="Lanitech_Artwork/button_home.jpg" border="0" alt="Home" width="50" height="30"></a>