Scroll div content left right on mouseover
10,541
Check out the answer here from StackOverflow - it's a perfect solution:
Continuous scroll on hover [performance]
Author by
Ignaty Nikulin
Updated on June 04, 2022Comments
-
Ignaty Nikulin almost 2 years
Good day.
I need script that will follow the mouse and will scroll content depending on what side mouse is. If left then left, if right then right.
I need it for cases when line of hrefs will exceed width of block, like here http://cloud.ignatynikulin.com/45121918090s3R15193i
If the width is exceed then you will be able to scroll it when you put your mouse to right.
Something that will do that: http://codecanyon.net/item/jquery-mouse-slider/full_screen_preview/143061
I tried that script, but the problem with it is that it needs to rely on some width that I don't have.
Any plugin or ideas suggestion?
Thank you!