有人对jquery上下文菜单有任何代码吗?按下鼠标右键时,只需要在指针位置弹出一个div即可.
Does anybody have any code for a jquery context menu? Just need a div popup at pointer position when right mouse button pressed.
推荐答案这是我发现的内容:
使用Jquery和asp的右键单击上下文菜单-代码项目文章
标记为Jquery网站上右键菜单的插件
有趣的是, dogo库具有标准的UI小部件集和上下文菜单是该标准UI集合的一部分.(dojo库在外观上非常漂亮)
Interestingly, the dogo library has a standard set of UI widgets, and the context menu is part of that standard UI set. (The dojo library is nice and pretty with a standard look)
Dojo是一个单独的javascript库,就像 JQuery一样.不知道dojo与 jQuery是否完全兼容,但是如果需要,可以通过多种方法使它们一起工作.
Dojo is a separate javascript library just like JQuery. Not sure how completely compatible dojo is with jquery, but there are ways to get them both working together if you want to.
领主 Google 给了我大多数答案;)
Lord Google gave me most of the answers ;)
类似的SO问题可能会有所帮助: jQuery右键单击上下文菜单帮助! jquery上下文菜单插件-右键单击位置事件类型? JavaScript:捕获右键单击并禁用菜单某些元素
Similar SO questions that might be helpful: jQuery Right-Click Context Menu Help! jquery context menu plugin - Where is the right click event type? JavaScript: Capturing right click and disabling menu only within certain element
更多推荐
右键单击上下文菜单jQuery
发布评论