随笔分类 -  JSP

摘要:怎样改变网页中的鼠标样式? <a href="http://"; style="cursor: auto;">auto</a> <a href="http://"; style="cursor: crosshair ">crosshair</a> <a href="http://"; style="cursor: default ">default</a> <a href="http:// 阅读全文
posted @ 2008-04-29 08:47 dainiao01 阅读(503) 评论(0) 推荐(0)
摘要://方法一 在 <body>与</body>之间加入: <script language="javascript"> function click() { if (event.button==2) { alert('去,不准偷看。') } } document.onmousedown=click </script> 或 <script language="javascript"> document.oncontextmenu=stop </script> //方法二 阅读全文
posted @ 2008-04-29 08:44 dainiao01 阅读(287) 评论(0) 推荐(0)