鼠标左键菜单

<STYLE type=text/css>
.box {
BACKGROUND:#BBBBBB;
 color:#000000; FONT: 12px/150% "Verdana", "Arial", "Helvetica", "sans-serif"; POSITION: absolute
; border: solid; cursor: default; text-decoration: none; text-align: center; border-color: #DDDDDD #000000 #000000 #DDDDDD; border-width: 1px 1px 0px}
a:link {  text-decoration: none; color: #000000}
TD {  border-color: #000000 black black; border-style: solid; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px}
</STYLE>

<script language=JavaScript>
document.onclick = popUp
function popUp() {
newX = window.event.x + document.body.scrollLeft
newY = window.event.y + document.body.scrollTop
menu = document.all.itemopen
  if ( menu.style.display == ""){
    menu.style.display = "none" }
  else {
     menu.style.display = ""}
    menu.style.pixelLeft = newX - 50
    menu.style.pixelTop = newY - 50}
</script><!-------------链接在下面表格里改----------------->
<table class=box id=itemopen style="DISPLAY: none" width="72" height="101" cellspacing="0">
  <tbody>
  <tr>
    <td width="64" height="6" valign="top"><a href="http://">小雨在线</a></td>
  </tr>
  <tr>
    <td width="64" height="6" valign="top"><a href="http://">小雨在线</a></td>
  </tr>
  <tr>
    <td width="64" height="12" valign="top"><a href="http://">小雨在线</a></td>
  </tr>
  <tr>
    <td width="64" height="12" valign="top"><a href="http://">小雨在线</a></td>
  </tr>
  <tr>
    <td width="64" height="12" valign="top"><a href="http://">小雨在线</a></td>
  </tr>
  </tbody>
</table>

/请点击鼠标左键/

来自:http://www.smallrain.net/js_show.asp?id=195

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值