vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Starting a scroll bar scrolled down? (https://vborg.vbsupport.ru/showthread.php?t=89589)

Dorign 08-02-2004 07:16 PM

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">
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.


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
  • Page Generation 0.01159 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete