The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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?
|
#2
|
||||
|
||||
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.
|
#3
|
||||
|
||||
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.
|
#4
|
||||
|
||||
place this code anywhere in your page:
Code:
<a href="#bottom">test</a> Code:
<a name="bottom"></a> |
#5
|
||||
|
||||
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:
|
#6
|
||||
|
||||
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.
|
#7
|
||||
|
||||
Will this work if I put it in the header and footer templates?
|
#8
|
||||
|
||||
yes.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|