簡単なデモのクエリがあります。button1
クリックするとスクロールを停止しbutton2
、スクロールが再開されます。私はこれを行う方法がわからない?
フィドルhere
HTML:
<input type='button' value='stop scroll' id='btn1'>
<input type='button' value='resume scroll' id='btn2'>
<div> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, ... <div>