View Full Version : Scrolling a page using onMouseover links rather than scrollbar.

Nov 29th, 2002, 05:21 PM
Ok, here's the deal:

I want to make one frame scroll up or down as a reaction of the user hovering their mouse over an image. The image will work as a link, and I know how to target it into the correct frame.

A good example of the way I want my scroll function to work can be found here: http://www.dynamicdrive.com/dynamicindex2/pagescroller.htm

How would I go about doing this? I have tried a few things, but I either can't get the scrolling to stop, or you have to move your mouse over the link every time to get the document to scroll the specified amount.

I figure it will have something to do with the window.scrollBy command.

Thanks for the help.

Quiet Storm
Nov 30th, 2002, 07:39 PM
You can use a scrolling iFRAME (for IE only):


Nov 30th, 2002, 07:46 PM
And I thought nobody cared...heh. I got it to work using normal frames. :D Took a while, but it works great. Thanks anyways.

Right here is the example: http://www.geocities.com/jon_zie/index.htm