按下你的鼠标右键,看看发生了什麽?
这段程序放在<head>与</head>之间
<script> function click() { if (event.button==2) { alert('你想看什麽?') } } document.onmousedown=click </script>