The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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"> ![]() |
#2
|
||||
|
||||
![]()
It's not styling so much as the content itself should run in the body onload="scroll.bottom" or something similar...
|
#3
|
||||
|
||||
![]()
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.
|
#4
|
||||
|
||||
![]()
Do you not have access to the code for the window you are talking about ?
|
#5
|
||||
|
||||
![]()
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.
![]() |
#6
|
||||
|
||||
![]()
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 ?
|
#7
|
||||
|
||||
![]()
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.
![]() |
#8
|
||||
|
||||
![]()
With all the shoutboxes you will find they by default have the latest shout at the top...
|
#9
|
||||
|
||||
![]()
*sigh* Forget it.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|