The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Template var for the page?
Basically, I want to add a button that aims for the top of the page on each post. But I can't figure out how to make it work with threads and stuff... Basically, I have it as <a href="#top">, but I know I need something before the top... what do I need?
|
#2
|
||||
|
||||
The link is on the bottom of every page. Just steal the code from it (I believe it's in the footer).
|
#3
|
|||
|
|||
I know the top link in the footer, but that also only ever leads to forum home. I need it to link to the top of the current page.
|
#4
|
||||
|
||||
Well, you need to add an anchor to where you want the link to take you.
Anchor: HTML Code:
<a name="yourname">whatever</a> HTML Code:
<a href="#yourname">To the Top!</a> |
#5
|
||||
|
||||
Add this to the bottom of navbar template:
HTML Code:
<a name="top2"> </a> HTML Code:
<a href="#top2">Top</a> --------------- Added [DATE]1243983418[/DATE] at [TIME]1243983418[/TIME] --------------- Opps too late ... already poasted by Lynne |
#6
|
||||
|
||||
Beat you by two minutes, Seven Skins!
|
#7
|
|||
|
|||
Yes, but that would link to that anchor on the forumhome, not on the showthread template.
|
#8
|
||||
|
||||
True ... I was testing the code before posting ... so I know for sure if it works or not.
--------------- Added [DATE]1243984077[/DATE] at [TIME]1243984077[/TIME] --------------- Quote:
I have tested it and it works on all pages ... forumhome, showthread, userCP ... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|