1
我想在一段時間內的jQuery或純JavaScript滾動紅色的div 可能在DIV綠色滾動滾動2個格????如何在一段時間
<div class="parentDiv">
<p>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>
<br>nothing to see here <br>
<br>nothing to see here <br>
<br>nothing to see here <br>
<p>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>nothing to see here <br>
<br>nothing to see here <br>
<br>nothing to see here <br>
<br>nothing to see here <br>
</p>
<div class="childDiv">
this should scroll only form outside and inside<br>
this should scroll only form outside and inside<br>
this should scroll only form outside and inside<br>
this should scroll only form outside and inside<br>
this should scroll only form outside and inside<br>
this should scroll only form outside and inside<br>
this should scroll only form outside and inside<br>
this should scroll only form outside and inside<br>
this should scroll only form outside and inside<br>
v
this should scroll only form outside and inside<br>
</div>
</div>
http://jsfiddle.net/y1byh25d/6/
這樣嗎? http://jsfiddle.net/y1byh25d/7/ –
是的; D謝謝 http://jsfiddle.net/y1byh25d/8/ –
不客氣。不知道這是你問的問題。作爲答案提交。 –