有人能解释一下HTML5中的contextmenu属性是做什么的吗? [英] Can someone explain what the contextmenu attribute in HTML5 does?

查看:146
本文介绍了有人能解释一下HTML5中的contextmenu属性是做什么的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以解释contextmenu属性的作用,以及它是否可以与所有HTML元素一起使用,有人可以指向我一些在线演示/示例吗?

can someone explain what the the contextmenu attribute does and if it can be used with all the HTML elements and can someone point me to some online demos/examples?

推荐答案

您可以在此演示中看到它的外观:
https://bug617528.bugzilla.mozilla.org/attachment.cgi?id=554309

You can see how it may look like in this demo: https://bug617528.bugzilla.mozilla.org/attachment.cgi?id=554309

撰写本文时只有FireFox 8支持它。

At the time of writing only FireFox 8 supports it.

这篇关于有人能解释一下HTML5中的contextmenu属性是做什么的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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