屏蔽鼠标左右两键,并且还有提示的HTML代码

来源:百度知道 编辑:UC知道 时间:2024/05/11 00:58:19
在博客上需要那种防止转载复制的NTML代码。
嗯,是要屏蔽左右两键的,并且一摁鼠标的时候就会弹出提示的那种代码。
谢谢。
是点右键有提示的那种。

是歪酷BLOG新模板的NTML代码。

右键菜单:

在<body></body>之间输入下面的代码
<style>
body,td,a {font-size:9pt;color:black}
.none{border:black 1px solid;background:D9D9D9;padding-top:2}
.over {border:black 1px solid;background:707888;color:white;padding-top:2}
</style>
<body oncontextmenu="return false">
<div style="position:absolute; left: 100; top: 100;cursor: hand;display='none';" ID=plane onmousedown="down=true;divleft=event.clientX-parseInt(plane.style.left);divtop=event.clientY-parseInt(plane.style.top)" onmouseup="down=false">
<div align=center style="position:absolute; left:150px; top:33px; width:100px; height:19px; z-index:1;color:white;background:707888;cursor:default;" class="none" onmouseover="menuin();init()">右键菜单</div>
<div align=center id="item1" style="position:absolute; left:50px; top:55px; width:99px; height:19px; z