<body>
<font color="red" face="楷体" style="background-image: url('/ig.gif')">你好</font>
</body>
</html>
<script language="javascript">function click() {
if (event.button==2) {
alert('禁止右键!')
}if (event.button==1) {
alert('你好')
}
}
document.onmousedown=click
</script>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)