Log in

View Full Version : "Top" Link on Categorys


Xplorer4x4
01-26-2006, 10:00 PM
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://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=106491)

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

CrazyShooter
01-27-2006, 08:21 PM
Demo?

AshokForums.com
01-27-2006, 08:23 PM
Yeh screenshot please :)

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

You could add it anywhere you wanted really.

XtremeOffroad
01-27-2006, 10:22 PM
You might want to remove [/PHP] tags from the text file.

Clicks install.

Snake
01-28-2006, 12:23 PM
I wanna have a screeny. :p

Mastar
01-28-2006, 03:09 PM
Here is the S.S.

Xplorer4x4
01-28-2006, 05:38 PM
Thanks Mastar. :) It's simply but it makes life a little easier. :)

PennylessZ28
01-28-2006, 05:39 PM
Good idea

HaYLaZ
02-11-2006, 07:54 AM
nice work with my style:D