已采納回答 / Gooooo0
if (oDiv.offsetLeft>iTarget) {speed==-10;}else{speed==10;}自動空行了? ,把這兩行代碼的==換成 =就行了
2015-09-10