上下文菜单 - javascript [英] context menu - javascript

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

问题描述

我希望通过javascript将一个项目添加到网站上的右键上下文菜单中,我该怎么做?

I am looking to add, via javascript an item to the right click context menu on a website, how do I do that?

我一直在寻找网络但没有找到任何东西,所以如果你有一个很棒的好文章的链接。

I have been looking around the web but have found nothing, so if you have a link to a good article that would be great.

我也知道Opera存在一些兼容性问题,但我不是现在很担心。

I also know there is some compatibility issues with Opera but I am not worried about that right now.

谢谢,R。

当然我发布并立即找到一个好的教程:

Of course I post and instantly find a good tutorial:

http://luke.breuer.com/tutorial/javascript-context- menu-tutorial.htm

推荐答案

jQuery有上下文菜单实现。

这里是一个现场演示。

jQuery has Context Menu implementation.
Here is a live demo.

这篇关于上下文菜单 - javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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