Forum Moderators: open

Message Too Old, No Replies

Is there a way to stop scrolling at a certain point?

maybe a javascript function?

         

dickbaker

12:01 am on Feb 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm working on a site that will be dynamic, with the amount of text on the page dependent upon how much the subscriber wants to write.

I'm using a layer on the left side that extends down 1180 pixels. The layer beneath the text area is part of a table, the height of which depends upon how much text is entered.

The result, if someone scrolls way down to the bottom of the page, long after any text or other information is finished, is that the two layers don't end at the same point. Sometimes one is higher or lower than the other, and it bothers me.

Is there a way to stop scolling at a certain point on a page?

Thanks for any replies.

tedster

7:09 pm on Feb 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If I understand your situation correctly, then trying to stop scrolling would be a hack and a half even if it can be done...and I'm not sure it can.

I'd suggest you reconsider the design if that ragged bottom effect bothers you. Isn't there a way you can make the 1180 pixel layer more flexible in size, even if you only grow the background color or some other design element to keep the balance?