» Forums
» DynarchMenu forum
» Support
» Hide Dropdown menu
» Re: Hide Dropdown menu
» Re[2]: Hide Dropdown menu - Handle mouseover events on menu item
Re[2]: Hide Dropdown menu - Handle mouseover events on menu item
2005/08/02 16:18
Viewed 7307 times
Replies: 1/3

Immediatech(my company) Purchased the dynarch hmenu recently.

Have one more question.

Can i execute a javascript handler on mouseover event.
ex: i have a menu named Documents
And it has submenus Add, delete, copy.
On mouse move on Documents menu, i want to enable/disable sub menu items.

Let me know if it can be done.

Re[3]: Hide Dropdown menu - Handle mouseover events on menu item
2005/08/02 17:35
Viewed 9027 times
Replies: 1/2

Hi,

The onmouseover thing can't be solved at this time. In the future we might implement support for this--how urgent would you need it? I can't promise anything faster than 3 weeks...

About closing the menu, the problem is the modal dialog itself. This, AFAIK, is an IE extension (doesn't work with other browsers) and it will stop any JS code the moment the dialog is displayed. A quick an easy workaround is to open the modal dialog after a short time (during that time the JS engine will manage to hide the popups). For example:

setTimeout(function() { openModalDialog(...); }, 200);

Hope this helps.

last
Re[4]: Hide Dropdown menu - Handle mouseover events on menu item
2005/08/02 21:25
Viewed 10630 times
Replies: 1/1

Thanks for the reply.

Whenever you get the on mouse over working let us know. Its not a priority as now. would be nice having that feature.

I checked the hiding of menu using setTimeout doesnt work. The menu stays there. I called the below function on menu click event.
Am i doing right let me know

function showModal()
{

setTimeout('',200)
window.showModalDialog(strURL,'',strOptions);

}

<li id="smenu32" onclick="showModal()">

last
Google