Scrolling even when the mouse leaves the browser window?

Watching the official jScrollPane full page demo ...

Click and drag the large vertical scroll bar that controls the window. I noticed the following behavior when you click + drag the scroll bar and the mouse accidentally leaves the browser window:

  • Safari (XP): The scroll bar is responsive even when dragged outside the browser window. It does not seem to break. Tall.
  • FF4 (XP): Scroll bar stops responding. It responds again successfully when the mouse returns (you don’t need to click to start dragging again). A bit annoying.
  • IE8 (XP): Scrollbar stops responding. It does not respond when the mouse enters again (you must click to drag again). This is the worst of three.

So, Safari (and Webkit, I suppose) has great control over the movement of the mouse outside the window. Is it even possible to make IE and FF behave in a similar way, or are these limitations of Trident and Gecko engines?

+3
source share
1 answer

[I initially answered a completely different question by mistake, so editing to answer the right question]

, jScrollPane. , , -, rollout/mouseout, . jScrollPane ( , iframe, iframe).

, , , , , , , , : (

+1

All Articles