<SCRIPT language=JavaScript>
window.οnlοad=function(){
doubleBgColor(document.getElementById("head"),"#eeeeee","#ffffff")
}
function doubleBgColor(Table,Bg1,Bg2)
{
for (var i=0;i<Table.rows.length;i++) Table.rows[i].bgColor=i%2?Bg2:Bg1;
}
</SCRIPT>
给表格加间隔行颜色
最新推荐文章于 2022-04-23 21:12:11 发布