改成下方这样,为什么不用鼠标滑过自己就会动?
window.onload=function()
{
var oDiv = document.getElementById("div1");
oDiv.onmouseover = startMove();
};
window.onload=function()
{
var oDiv = document.getElementById("div1");
oDiv.onmouseover = startMove();
};
2016-03-02
举报