运行时候 为什么说style是无效的呢!
<html><head>
<script language=javascript>
var movingID;
var scrolling = false;
function startmove()
{
var ob = document.getElementById("div1");
var left = eval(ob.style.left.replace("px", ""));
document.div1.style.left = left + 10+"px";
movingID=setTimeout("startmove();",1000);
}
</script>
</head>
<body>
<div id="div1" style="position:absolute;left:10px;top:50px;">
<table>
<tr>
<td> I can move...</td>
</tr>
</table>
</div>
<br>
<input type="button" value="start" onclick="startmove()">
</body>
</html>