我想实现鼠标移到单元格上颜色变成黄色...<td>中该怎么写 <td onmouseover="this.className='h1'" onmouseout="this.className=''"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <script language="javascript">function onColor_menu(blah,mycolor) { blah.style.backgroundColor=mycolor;}function offColor_menu(blah,mycolor) { blah.style.backgroundColor=mycolor;}</script><td color="dddddd" onmouseover="onColor_menu(this, 'f8f8f8');" onmouseout="onColor_menu(this, 'dddddd')"></rd> <tr bgcolor="#999999"> <td height="28"> </td> <td valign="top" onMouseMove="javascript: this.style.background='yellow';"><!--DWLayoutEmptyCell--> </td> </tr> <td color="dddddd" onmouseover="this.bgColor='#000000';" onmouseout="this.bgColor='#EEEEEE';"> http://community.csdn.net/Expert/topic/3377/3377671.xml?temp=.9600336这个贴子能给你答案 CSDN 留言版的引用留言功能是怎么做的? 一段JS代码在本地运行正常,服务器上就不行,求教,谢谢谢谢 三个显示区动态变化 js web excel 0.56 改进版 急!!!请问:如何去掉JS变量中的斜杠?谢谢! 怎么能让鼠标放到tabbar的tab上就显示该tab的信息? 改变图像的问题。 关于iframe问题,请高手解决! 可编辑下拉列表 ~~~~如何做多极動態下拉菜單???? 关于input框的问题 toFixed 在IE5中是否不能使用呀?IE5用什么方法实现该函数的作用呢?
function onColor_menu(blah,mycolor) {
blah.style.backgroundColor=mycolor;
}function offColor_menu(blah,mycolor) {
blah.style.backgroundColor=mycolor;
}
</script>
<td color="dddddd" onmouseover="onColor_menu(this, 'f8f8f8');" onmouseout="onColor_menu(this, 'dddddd')"></rd>
<td height="28"> </td>
<td valign="top" onMouseMove="javascript: this.style.background='yellow';"><!--DWLayoutEmptyCell--> </td>
</tr>