JavaScript鼠标事件,点击鼠标右键,弹出div
摘要:
document.oncontextmenu = function(){return false}; //禁止鼠标右键菜单显示 var res = document.getElementById('box'); //找到id为box的div document.body.onmouseup = fun 阅读全文
posted @ 2018-12-11 22:51 Itwangchen 阅读(1416) 评论(0) 推荐(0) 编辑