1
divをスクロールしたいときに赤いdivをスクロールする jQueryまたはpure javascriptで可能ですか?いくつかの時間に2つのdivをスクロールする方法
<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/ –
よろしくお願いします。それがあなたが求めていたものかどうかは分かりませんでした。答えとして提出されます。 –