Topic: Scroll area inside page (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=9582" title="Pages that link to Topic: Scroll area inside page (Page 1 of 1)" rel="nofollow" >Topic: Scroll area inside page <span class="small">(Page 1 of 1)</span>\

 
Bear
Obsessive-Compulsive (I) Inmate

From:
Insane since: Jan 2003

posted posted 01-12-2003 07:43

I'm trying to get a scrollable area in the middle of the page. Static data on top, sides, and bottom; just the middle should move (up and down) as it contains dynamic data. Due to the background scheme, I would like to use something other than frames to do it. Any suggestions? If I need to explain more, let me know.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 01-12-2003 07:49

Sounds like the CSS property you want is overflow, set to auto (overflow:auto.

[edit: slimey detection code is poorly written, stupid ubb people]

[This message has been edited by Slime (edited 01-12-2003).]

Bear
Obsessive-Compulsive (I) Inmate

From:
Insane since: Jan 2003

posted posted 01-12-2003 08:12

Thanks Slime! It works great. I'm putting tables inside of it, but it got me pointed in the right direction.

Perfect Thunder
Paranoid (IV) Inmate

From: Milwaukee
Insane since: Oct 2001

posted posted 01-12-2003 10:08

Be forewarned, Opera up until 6 won't support that property! This is why I've always avoided it, nice as it can be. If you must do it (there really aren't all that many reasons to), and it must be usable in Opera (which I recommend), then use an iframe instead.

Still, what have you got in that central area that you couldn't do better as static content? The trouble with putting things in a little scroll window is that it can end up looking cramped and needless... we're not all www.halfproject.com , you know.

I know I did an iframe page myself, and the more I look back at it, the more I wish I had used some other device...

It seems to be the kind of thing that gets less tempting the more experience you get. At least, now that I'm a grizzled old veteran web designer (snort), I keep hearing from people who want to have little scrolling boxes, and they're always pretty new to the game...

Then again, it could be perfect for your design. I don't know.

edit: God, Halfproject is still beautiful. I wish I were them...

[This message has been edited by Perfect Thunder (edited 01-12-2003).]

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 01-12-2003 16:10

Bear: Welcome. Have a look here if you just want a scroller:

:FAQ:

As you are new you need to look here:

:FAQ:

___________________
Emps

FAQs: Emperor

mwasisco
Obsessive-Compulsive (I) Inmate

From: chicago, IL usa
Insane since: Jan 2003

posted posted 01-15-2003 11:32

you could try iframe but I'm not sure how well its supported across various browsers and platforms.

put this inside your code and the space it occupies will contain the file it references.

<iframe src="/html/yourfile.html" scrolling="auto" height="60" width="220" framespacing="0" frameborder="0" marginwidth="0" marginheight="0"></iframe>

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 01-15-2003 14:46

mwasisco: If you only want a scroller then an iframe is a bad idea - nothing shows up in older browsers. The solutions I linked to above provide a cross-browser scroller effect. If you want a cross-browser iframe effect then things do get tricky but check:

:FAQ:

___________________
Emps

FAQs: Emperor



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu