<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{
$i++;
if($i%2==0)
$bgc="#ccba6e";
else
$bgc="#eefa43";
echo "onmouseout='disshow(this)' >";
$j=0;
while($j{
echo "".$k." | ";
$j++;
$k++;
}
echo "
";
}
echo "
";
?>