![]() |
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?
|
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.
|
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. :)
|
place this code anywhere in your page:
Code:
<a href="#bottom">test</a> Code:
<a name="bottom"></a> |
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:
|
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.
|
Will this work if I put it in the header and footer templates?
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|