<script> var p = 800; var columns = 10, rows = 10, content = "", count = 1; var a = new Array('00','33','99','CC','FF'); content = "<table border='8' cellspacing='1' cellpadding='5' align='center'>"; for (r = 0; r <4; r++) { for (m = 0; m < 2; m++) { content += "<tr>"; for (c = 0; c < 7; c++) { for(k=0;k<1;k++) { l=a[r]+a[c]+a[k]+a[m]; content+="<td onmousehover='abc("+l+");' bgcolor=#"+l+"></td>"; if (count==p) break; count++; } } content += "</tr>"; } } content += "</table>"; document.body.innerHTML = content; function abc(val) { var a = ''; for(var i = 1; i <= 3; i++) { a += '<input type="text" name="TextBox'+l+'" value="TextBox'+l+'" >'; } ni.innerHTML = a; } } </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)