首页
微信
安卓
接口
移动
前端
专题
文档库
工具
网址
§
ITPOW
>>
文档
>>
JavaScript
>>
菜单导航
仿XP菜单
作者: 来源: 日期:2004-9-30
<style> .normal{ cursor:default; font-size: 9pt; background-color:#DEDEDE; border:#DEDEDE 1px solid; } .mouseover{ cursor:default; font-size: 9pt; background-color:#F1F6FE; border:#000080 1px outset; } .mousedown{ cursor:default; font-size: 9pt; background-color:#FFFFFF; border:buttonhighlight 1px inset; } </style> <div align="left"> <table border="1" cellpadding="0" cellspacing="0" width="279" height="22" onselectstart="return false"> <tr> <td width="77" height="1" class="normal" onmouseover="this.className='mouseover'" onmousedown="this.className='mousedown'" onmouseup="this.className='mouseover'" onmouseout="this.className='normal'" align="center"> 查杀病毒(<u>S</u>) </td> <td width="76" height="1" class="normal" onmouseover="this.className='mouseover'" onmousedown="this.className='mousedown'" onmouseup="this.className='mouseover'" onmouseout="this.className='normal'" align="center"> 嵌入工具(<u>P</u>) </td> <td width="76" height="1" class="normal" onmouseover="this.className='mouseover'" onmousedown="this.className='mousedown'" onmouseup="this.className='mouseover'" onmouseout="this.className='normal'" align="center"> 实用工具(<u>T</u>) </td> <td width="51" height="1" class="normal" onmouseover="this.className='mouseover'" onmousedown="this.className='mousedown'" onmouseup="this.className='mouseover'" onmouseout="this.className='normal'" align="center"> 帮助(<u>H</u>) </td> </tr> </table> </div>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]
网友评论
请问修改哪里才可以改变按下按钮发生的动作啊?(59.33.*.* 2008-01-23 12:12:05)
可以给菜单所在的 td 指定 onclick 事件。(61.128.*.* 2008-01-23 20:50:03)
相关文章
创建于2005年
渝ICP备05010272号-1
电邮:
cftea@126.com
即将跳转...