鼠标悬停在菜单上打开页面 [英] opening a page on menu mouse over

查看:144
本文介绍了鼠标悬停在菜单上打开页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何代码可在菜单鼠标悬停时打开页面.


DEMO

在www.codeproject.com网站的菜单中.

文章->章节和选择->打开站点地图页面.

Is there any code to open a page on Menu mouseover.


DEMO

in www.codeproject.com website''s menu.

Articles -> Chapter and Selections -> Opens a sitemap page.

推荐答案

您可以使用javascript来做到这一点.只需根据鼠标事件显示/隐藏DIV,就可以了.
用于OnmouseOver事件的DIV弹出 [ ^ ]
You can do that by using javascript. Just show/hide DIV based on mouse events, that''s all.
DIV Popup for the OnmouseOver Event[^]


当然可以,但是请听听大警告:会使许多用户发疯.我不会以这种意外,不切实际和令人讨厌的行为再次使用该网站. 不要这样做.

—SA
Sure you could do it, but please listen to a big warning: that can drive many users crazy. I would not use again the site with such unexpected, impractical and annoying behavior. Don''t do it.

—SA


这篇关于鼠标悬停在菜单上打开页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆