精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>电脑技术>>● 软件使用>>★使用技巧★>>其  他>>在网页中禁止用右键

主题:在网页中禁止用右键
发信人: seals()
整理人: CyberCowBoy(2000-06-21 00:07:12), 站内信件
插入本段代码可设置鼠标右键响应一弹出窗口.

<script language="JavaScript">

<!--

function click() {

if (event.button==2) {alert('hello') }}

document.onmousedown=click

//-->

</script>




--
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
seals(阿海)
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@  超纯斋软件推介---http://seals.126.com      @ 
@  中国诗词欣赏----http://shici.126.com        @
@  文 渊 阁----http://bookroom.126.com        @

※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 210.12.10.65]

[关闭][返回]