开发者

GWT menubar hide when mouse out

We have recently attached a GWT MenuBar to a part of our application for, well, menu purposes.

I would also like to have the sub menu automatically hide when the user's mouse leaves the sub menu. Ideally with some sort of delay to prevent it vanishing too abruptly, but开发者_JAVA技巧 I'd settle for just the hiding.

So what would be the best approach to autohiding a GWT submenu?

Thanks, Uday


Your best bet would most likely be using a pure CSS3 dropdown. An example can be found here. This was the solution we ended up going with in the end. Unfortunately, the GWT MenuBar has several limitations which have yet to be adequately resolved.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜