[英]Asp:menu - submenu mouse out and delay hide time
I am using Asp.net menu control, and I try to delay the hiding of submenu items. 我正在使用Asp.net菜单控件,并且尝试延迟子菜单项的隐藏。
On submenu items when the mouse leaves the li element then the submenu disappears instantly. 在子菜单项上,当鼠标离开li元素时,子菜单会立即消失。
But I want a 2 seconds delay. 但我要延迟2秒。
How can I do this ? 我怎样才能做到这一点 ?
Thanks. 谢谢。
This is the solution : 这是解决方案:
Go to the Properties of the Asp.Net Menu Control. 转到Asp.Net菜单控件的属性。
Find the DisappearAfter property. 找到DisappearAfter属性。
Set the value in millisecond. 设置值(以毫秒为单位)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.