외부 J를 도입해야 하는 경우 실행하려면 새로 고쳐야 합니다 ]<script>
document.write('<table border="0" align="center">');
document.write('<tr>');
number=1;
number1=1;
var i;
up=5;
list=8;
for(i=0;i<(up*list);i++)
{
document.write('<td width="60" height="60" bgColor="#BEBEBE" id="'+i+'" onmouseMove="changeEnd(parseInt(id))" onmouseUp="changUpEnd()" onmouseDown="changeStart(parseInt(id))" onclick="changecolor(parseInt(id))")>');
if((i<((up*list)-list))&&(i+1)%list==0)
{
document.write('<tr>');
number++;
}
}
document.write('<tr>');
document.write('<td>');
document.write('');
document.write('');
function resetcheck(){
for(i=0;i<(up*list);i++){
changeColorToNotSelected(i);
}
}
</script>