When you scroll, do you change the position of something?
How to change the scroll position? In particular, to fit the movement of cursors.
What I want to do is scroll the window when I click and drag the cursor inside the window.
For example: I have a 400px by 400px div with an internal size of 900px by 900px. I want to scroll click and drag. Note: I do NOT want to move the position of the inner div (easily doable using jQuery UI via draggable), just the scroll position. Moving actual messes with my other javascript applications.
Any help would be appreciated! Thank!
source
share