![]() |
Starting a scroll bar scrolled down?
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.. Code:
<div style="position: relative; width: 100%; height: 250px; z-index: 0; overflow: auto; overflow-x : hidden; border-style: hidden; align: center"> |
It's not styling so much as the content itself should run in the body onload="scroll.bottom" or something similar...
|
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.
|
Do you not have access to the code for the window you are talking about ?
|
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. ;)
|
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 ?
|
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. ;)
|
With all the shoutboxes you will find they by default have the latest shout at the top...
|
*sigh* Forget it.
|
All times are GMT. The time now is 03:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|