<script> <br>var cc= null; <br>function show(obj) <br>{ <br>cc=obj.style.backgroundColor; <br>obj.style.backgroundColor="Red"; <br>} <br>function disshow(obj) <br>{ <br>obj.style.backgroundColor=cc; <br>} <br></script>
echo "
echo "用表格输出1-1000之间的数字
";
$i=0;
$k=1;
while($i<100)
{
$i ;
if($i%2==0)
$bgc="#ccba6e";
else
$bgc="#eefa43";
echo "onmouseout='disshow(this)' >";
$j=0;
while($j<10)
{
echo "".$k." | ";
$j ;
$k ;
}
echo "
";
}
echo "
";
?>