PDA

View Full Version : "Top" Link on Categorys


Xplorer4x4
27 Jan 2006, 20:32
I wanted a way to scroll to the top of my forums quickly if say I am at the bottom of my forums index. So I added a the simple top link to the left of each categorey name.

Nothing fancy but it gets the job done.

In forumhome_forumbit_level1_nopost find


<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]
<if condition="$show['forumdescription']">$forum[description]


And before, add:
<a style="float:$stylevar[left]" href="#top" onclick="self.scrollTo(0, 0); return false;">Top</a><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"></a>

Please be sure to click https://www.vbulletin.org/forum/ (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=106491)

NOTE: I will add a text file in a few. :)

CrazyShooter
27 Jan 2006, 21:21
Demo?

AshokForums.com
27 Jan 2006, 21:23
Yeh screenshot please :)

SHANE-D-PAIN
27 Jan 2006, 21:29
It just adds a link to send you to the top of the page.

You could add it anywhere you wanted really.

XtremeOffroad
27 Jan 2006, 23:22
You might want to remove [/PHP] tags from the text file.

Clicks install.

Snake
28 Jan 2006, 13:23
I wanna have a screeny. :p

Mastar
28 Jan 2006, 16:09
Here is the S.S.

Xplorer4x4
28 Jan 2006, 18:38
Thanks Mastar. :) It's simply but it makes life a little easier. :)

PennylessZ28
28 Jan 2006, 18:39
Good idea

HaYLaZ
11 Feb 2006, 08:54
nice work with my style:D