we have tried the Delay Property but it doesn't seem to do anything??
I was looking for a way to close the menu quicker, the opposite of what is solved with the script you posted. Do you know how I would change this so it would make the menu immediately hide when the mouse is not over it. I am having problems with the menu sticking open.
Thanks
Hi,
Were you able to resolve your issue?
Thanks,
Valerie
Expand effect only affects lower level items in the menu not the top items. In order to create a delay opening the top items in the manu you can introduce a delay using the client side ItemHover event. For example:
function UltraWebMenu1_ItemHover(menuId, itemId, bHover){ //Add code to handle your event here. delayMenu(500);}function delayMenu(millis) { var date = new Date(); var curDate = null;
do { curDate = new Date(); } while (curDate - date < millis);}
For UltraWebMenu you have to set
<ExpandEffects Delay="1000" Duration="200" RemovalDelay="500" /> where documentation says:
Delay: Specifies the amount of time elapsed before a sub menu will open up in response to a mouse click or a mouse over. (Expand Effects are not available in not IE browsers or IE prior to version 5.5).
Duration: Specifies the amount of time elapsed in milliseconds between the beginning and the end of a transition effect. (Expand Effects are not available in not IE browsers or IE prior to version 5.5).
RemovalDelay: Specifies the amount of time (in milliseconds) a menu will display before removal when the mouse is not over it. (Expand Effects are not available in not IE browsers or IE prior to version 5.5).
I tested it and it works, but only in IE.
Hope that helps.
Lubomir
These properties are for WebDataMenu though. I'll check are there such for UltraWebMenu.