something random just for fun:
<html>
<head>
<title>Untitled Page</title>
<script type=“text/javascript”>
var sizebox = 10;
var cols = new Array();
cols[0] = “White”;
cols[1] = “#00FFFF”;
cols[2] = “#00FFCC”;
cols[3] = “#33CCFF”;
cols[4] = “#00CCFF”;
cols[5] = “#00CCCC”;
cols[6] = “#33CCCC”;
cols[7] = “#0066FF”;
cols[8] = “#0099FF”;
var pgH = 0;//no need to set
var pgW = 0;//no need to set
var rBoxs = 0;//no need to set
var cBoxs = 0;//no need to set
function setupGrid()
{
set_Position();
var id = 1;
var left_count = 0;
var top_count = 0;
var str = “”;
for(i = 0; i < rBoxs; i++)
{
for(j = 0; j < cBoxs; j++)
{
str += “<div id='positionDIV_”+id+“’ style=‘top: "+top_count+"px; left: "+left_count+"px; width: "+sizebox+"px; height: "+sizebox+"px; position: absolute; background-color: White;’></div>”;
left_count += sizebox;
id++;
}
left_count = 0;
top_count += sizebox;
}
document.getElementById('baseDIV').innerHTML = str;
}
function refreshGrid()
{
//set_Position();
var id = 1;
for(i = 0; i < rBoxs; i++)
{
for(j = 0; j < cBoxs; j++)
{
var num = rand(8);
var str_id = 'positionDIV_'+id;
document.getElementById(str_id).style.backgroundColor = cols[num];
id++;
}
}
}
function rand ( n )
{
return ( Math.floor ( Math.random ( ) * n + 1 ) );
}
function set_Position()
{
var winW = 630, winH = 460;//default values
if (document.body && document.body.offsetWidth) {
winW = document.body.offsetWidth;
winH = document.body.offsetHeight;
}
if (document.compatMode == 'CSS1Compat' && document.documentElement && document.documentElement.offsetWidth) {
winW = document.documentElement.offsetWidth;
winH = document.documentElement.offsetHeight;
}
if (window.innerWidth && window.innerHeight) {
winW = window.innerWidth;
winH = window.innerHeight;
}
pgH = winH;
pgW = winW;
rBoxs = Math.floor(pgH / sizebox) - 1; //20;
//alert(rows);
cBoxs = Math.floor(pgW / sizebox) - 1; // 40;
//alert(cols);
} //end function set_Position()
</script>
</head>
<body onload=“setupGrid(); setInterval(‘refreshGrid()’, 1000);”>
<form id=“form1” runat=“server”>
<div id=“baseDIV” style=“top: 0px; left: 0px; border: 1pt solid black; width: 1000px; height: 500px; position: absolute; background-color: White;”></div>
</form>
</body>
</html>
lolz