Forum Moderators: open

Message Too Old, No Replies

Scrolling middle frame without showing scrollbar

         

Jules_A

10:21 am on Aug 6, 2002 (gmt 0)



Hi

I have a frame based site. A top frame followed by 3 column frames.
The left frame is a navigation page and targets the middle frame. I do not want to show any scrollbars on the page, hence when the middle frame has a long article I need a way of scrolling down without having scrolling="auto" on.

I guess this will require some javascript but be good to have a neat way to this.

Can I link to the down arrow or page-down through javascript or make the scrolling bar invisible

regards

tedster

11:12 am on Aug 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It sounds like you need to work with the scrollBy() [or maybe scrollTo()] functions, and turn off the scrollbars. You could activate the scrolling with a mouseover/mouseout on up and down arrow images -- at least that's what first comes to mind.

I've seen this done very nicely with divs, but not so far with frames. It's important to get the scroll rate comfortable and test on various setups. I tried it once about two years back and cross-browser issues boggled me, but the time may now be ripe.

And -- welcome to the forums!