Content Auto-Scroll via Mouse Position

(I posted this already, but I think it may be more appropriate in this forum)

I have come across an example of something I’d love to learn to do, but am not sure how to do it.

The example site is North Kingdom. My question is: How did they get the page content to scroll according to the mouse postion? I’ve seen this done with some photo galleries, but I would LOVE to know how to do it with content.

Can anyone help? :puzzle:

Thanks.

-coldfinger

Well, you take the mouse position, and you set the scroll position to be equal the mouse y position divided by the screen height. Not exactly sure about the code for that, but that’s the theory. :slight_smile:


Same principles :slight_smile:

Aye!

Thanks. I’ll try to breakdown that code for the Flashlevel example and apply it for content instead of image thumbnails. . .