uff1a效应
代码uff1a
复制代码代码如下所示:
在window.onload =
函数(){
VaR OTAB = document.getelementbyid('tab1);
无功thiscolor =;
对于(var i = 0;i < OTAB。tbodies { 0 }。rows.length;i++){
Otab。tbodies { 0 },{我}行。onmouseover =函数(){
thiscolor = this.style.background;
this.style.background =# 00ffff;
};
Otab。tbodies { 0 },{我}行。onmouseout=函数(){
this.style.background = thiscolor;
};
如果(i % 2){
Otab。tbodies { 0 },{我}行。style.background =;
}
{其他
Otab。tbodies { 0 },{我}行。style.background =# ffff00;
}
}
};
比赛名称
Race for short
英雄
人类联盟
哼
代表英雄:AM
兽人
兽人
代表英雄:BM
亡灵和亡灵
UD
代表英雄:DK
暗夜精灵
氖
代表英雄:DH