Jump to content

Scrolling with mouse pointer


Thierry

Recommended Posts

I want to be able to scroll (move) to the bottom of the page simply by hovering the mouse near the bottom.

As the page in question can be very large, if you hover near the edge of the screen, the page should scroll to that direction.

So if you are putting the mouse near the right edge of the screen, the page would scroll to the right, you hover left it goes left etc.

 

Currently I've been trying it by having an <input image> following the mouse and constantly focusing on it when it nears the screen but its buggy and doesn't really work well.

 

Any ideas that could do it better?

Link to comment
https://forums.phpfreaks.com/topic/60647-scrolling-with-mouse-pointer/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.