View Full Version : Starting a scroll bar scrolled down?
Dorign
08-02-2004, 07:16 PM
I know that you can use onload to set the posistion of an Iframe's scroll bar, but what about a regular frame? I'm using vBindex, and the shoutbox should start scrolled down instead of up.. Is there a styling trick you can use to set that?
The current style code is..
<div style="position: relative; width: 100%; height: 250px; z-index: 0; overflow: auto; overflow-x : hidden; border-style: hidden; align: center">
Thanks in advanced :)
Natch
08-03-2004, 04:18 AM
It's not styling so much as the content itself should run in the body onload="scroll.bottom" or something similar...
Dorign
08-03-2004, 06:23 AM
Well that's what I meant by the Iframe.. see, the window with the bar I'm trying to scroll has no body. It's being given a scroll bar by styling, so onload would start the whole page at the bottom.
Natch
08-03-2004, 11:01 AM
Do you not have access to the code for the window you are talking about ?
Dorign
08-03-2004, 04:59 PM
Wha? Okay, what I'm trying to do is start the Shoutbox that comes with vBindex scrolled down. The shoutbox is just a table with a div style to allow a scrollbar. If it was an iFrame, I'd know how to do it.. but it's div styling, so I'm lost. ;)
Natch
08-03-2004, 05:35 PM
There should be a way to do it,m but wouldn't it be simpler to edit the query and have the most recent shout show at the top ?
Dorign
08-03-2004, 06:44 PM
Yeah, I thought the most recent shout showing at the top was kind of.. I dunno, odd. In forums, it's always Old:Top to New:Bottom. I suppose I could live with that for now, but I'd really like a code/solution if anyone can supply one. ;)
Natch
08-04-2004, 10:22 AM
With all the shoutboxes you will find they by default have the latest shout at the top...
Dorign
08-04-2004, 01:30 PM
*sigh* Forget it.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.