It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

2 level horizontal menu issue

2 level horizontal menu issue

Postby maz00 on Sun Sep 13, 2009 10:04 pm

Hi all,

I'm having a problem that's driving me insane with submenus (horizontal). I have added horizontal submenu to a horizontal menu (2 level). However, in the submenu when I go from one item to another it fires the onmouseout event.

// Note: They're all horizontal
<div id="references" class="submenustyle" onmouseout="alert('out');">
<a href="url1">Submenu 1</a>
<a href="url2">Submenu 2</a>
<a href="url3">Submenu 3</a>
</div>

I want to change the alert('out') to a function to return my menu to the default selected menu but I have to get this part fixed first.
I only want it to fire when you leave the submenu section not going from the same level submenu item to another. Any idea what I'm doing wrong? please provide a sample code too.

Thanks
Maz
maz00
 
Posts: 3
Joined: Sun Sep 13, 2009 10:01 pm

Who is online

Users browsing this forum: No registered users and 10 guests