how to continuous scroll starting mousedown until mouseup?
<p>I see there are some similar questions, but I fail to understand the implementation properly. Hence, I am asking this specific to my scenario.</p>

<p>I have jQuery flot chart on my webpage. There are horizontal and vertical jQuery sliders which I have programmed to move the chart horizontally and vertically. Now, I want to place image arrow buttons (left, right, top, bottom) which should allow to scroll the chart continuously on mousedown until mouseup event.</p>

<p>The chart should scroll fixed pixels continuously after say every 0.5 sec when the mousedown button is still there. It should stop once the mouseup occurs. I don't want to use any jQuery plugin to achieve this.</p>

<p>Could anyone please help me writing the code for the same? </p>
