<script language="JavaScript"> <!-- var randomColor; var i; var hexch = new Array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'); function ToHex(n) file://Int-->Hex { n = Math.round(n); l = n % 16; return (hexch[l]); } function filterColorText() file://Colorful Text { randomColor=""; for(i=0;i<6;i++) {randomColor=randomColor+ToHex((Math.random()*16));} randomColor="#"+randomColor; document.getElementById("tablebg").style.backgroundColor=randomColor; } colorInterval=setInterval("filterColorText()",1000); </script> <table id=tablebg width=200 border=1 bordercolordark=white bordercolorlight=black cellpadding=3 cellspacing=0 style="word-break:break-all;table-layout:fixed"> <tbody align=center> <tr><td>11111</td></tr> <tr><td>22222</td></tr> <tr><td>33333</td></tr> <tr><td>44444</td></tr> </tbody> </table>
|