jQuery右键点击指定区域下拉菜单代码
156
0
右键下拉菜单代码jQuery右键下拉菜单点击右键下拉菜单代码

jQuery右键点击指定区域下拉菜单代码插件是一款使用Bootstrap的网页下拉菜单组件来制作,通过简单的配置即可在指定元素上生成右键菜单。
<script src="src/jquery.contextify.js"></script>
<script>
var options = {items:[
{header: '右键功能菜单'},
{divider: true},
{text: '第一个链接', href: '#'},
{text: '第二个链接', onclick: function() {alert("你点击了第二个链接")}},
{text: '第三个链接', onclick: function() {alert("你点击了第3个链接")}},
{text: '第四个链接', onclick: function() {alert("你点击了第4个链接")}},
{divider: true},
{text: '更多...', href: '#'}
]}
$('.panel-body').contextify(options);
</script>热点素材
- 2,4051
- 2,3680
- 2,28912
- 2,2363
- 2,1291





