.menu td{ font-size:12px; color:white; font-weight:bold; background-color:#336699; border:1px solid #336699;
border:1px solid #336699; filter:blendtrans(duration=1); text-align:center;}
function showfilter(obj){
var tds=obj.getelementsbytagname("td");
for(var i=0;i<tds.length;i++)
{with(tds[i])
{onmouseover=function(){with(this){filters[0].apply();
style.color='black';
style.border='1px solid white';
style.background='#66ccff';
filters[0].play();}}
onmouseout=function(){with(this){filters[0].apply();
style.color='white';
style.border='1px solid #336699';
style.background='#336699';
filters[0].play();}}
}}}
1111111111111 |
2222222222222 |
3333333333333 |
4444444444444 |
5555555555555 |
6666666666666 |
77777777777777 |
88888888888888 |
99999999999999 |
showfilter(xmenu);
[ctrl+a 全选 注:如需引入外部js需刷新才能执行]