vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Go to bottom... (https://vborg.vbsupport.ru/showthread.php?t=39903)

Boofo 06-15-2002 10:00 PM

Go to bottom...
 
Can anyone please tell me what javascript code I could use to go to the bottom of the screen? I know the one to go Back to the Top, but it uses the screen location 0,0 and with screens being different resolutions, what would I need to use that would cover them all?

Velocd 06-15-2002 11:50 PM

I don't know javascript very well, but if it were anything like some C++ coding, you could probably use some type of function to figure out the max-width and max-height of a browser screen then go from there.

Boofo 06-16-2002 12:56 AM

Is there just a simple way to do this? I don't have to have javascript, if there is another easier way to do it. :)

TECK 06-16-2002 06:08 PM

place this code anywhere in your page:
Code:

<a href="#bottom">test</a>
place this code where you want the link to point (in the same page):
Code:

<a name="bottom"></a>
you can have as many links like that as you want on a page... just change the name.

Boofo 06-16-2002 08:42 PM

I guess I'm confused here. What is the word test for? And how would I link it? :) Sorry to sound so dense, but I want to get it right. :)

Quote:

Originally posted by nakkid
place this code anywhere in your page:
Code:

<a href="#bottom">test</a>
place this code where you want the link to point (in the same page):
Code:

<a name="bottom"></a>
you can have as many links like that as you want on a page... just change the name.


TECK 06-17-2002 03:18 AM

place this code on a html page full of text.. at least 2 pages long (first code segment at the top, 2nd at the bottom), click on the "test" link and see what's happening.

Boofo 06-17-2002 07:23 AM

Will this work if I put it in the header and footer templates?

TECK 06-17-2002 08:29 AM

yes.


All times are GMT. The time now is 10:04 AM.

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.00958 seconds
  • Memory Usage 1,721KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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