php forum
php mysql forum
php mysql smarty
 
Topic Options
#153020 - 05/27/02 04:46 PM [6.3.x] [beta] Page Top Hack
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
Name: PAGE TOP v 1.1

Description: This hack makes a link (image) at the end of each post that when clicked takes you back to the top of the page! Simple but effective.

Demo: ADWOFF Test Board

Author: James (badnbusy)

Requirement: UBB™ 6.3

Download: pagetop_install2.zip

------

I always have liked this hack, and I went back to James's instructions for 6.2+ (or less) and tried to see if I could figure out how to get it to work with 6.3

-------

The zip file contains text instructions (I did a Multihack, too, but it's too hard for me to describe how I applied it! laugh ) and a small graphic for the page top.

The text instructions are for the public_topic_page.pl in the Templates and JCTemplates directories.

--------

The ONLY changes from James's original work was finding the code to be replaced. I did not do anything to the code that James created.
_________________________
Sue
adwoff.com

Top
#153021 - 05/27/02 10:26 PM Re: [6.3.x] [beta] Page Top Hack
Nervana Offline
Junior Member

Registered: 03/22/01
Posts: 19
Loc: Cairo, Egypt
Ohhh... so easy and working perfectly.
Thank you
_________________________
Nervana
Cairo, Egypt

Top
#153022 - 05/28/02 02:41 AM Re: [6.3.x] [beta] Page Top Hack
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Useful hack, I'll install it later. Thanks.

Top
#153023 - 05/28/02 03:17 AM Re: [6.3.x] [beta] Page Top Hack
mark99 Offline
Member

Registered: 03/11/01
Posts: 314
I guess that 'HOME' key or 'ICON' in the browser is just too far to click eh? =)

Top
#153024 - 05/28/02 03:22 AM Re: [6.3.x] [beta] Page Top Hack
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by mark99:
I guess that 'HOME' key or 'ICON' in the browser is just too far to click eh? =)</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">LOL ... Mark, the value of this hack is with pages that are long and/or threads that are long.

For example, if you are on page 10 in a thread and you click on the icon for the Page Top, it will take you to the first post on the first page in the thread.

Let's say you're reading through one of these threads on the hacks to see if you want to install it. You get to the end and you want an "easy" way to get back to the first post in the thread. This makes it easy. laugh
_________________________
Sue
adwoff.com

Top
#153025 - 05/28/02 11:02 AM Re: [6.3.x] [beta] Page Top Hack
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25461
Loc: Texas
thankie... definitely useful smile
_________________________
- Allen wavey
- What Drives You?

Top
#153026 - 05/28/02 11:51 AM Re: [6.3.x] [beta] Page Top Hack
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
... not in browsers that comply with standards.

# alone should not take you to the top of the page. Any browser that does this is displaying a bug.

To get to the top of the page in a cross-browser manner, you have to use a little Javascript:

javascript:scrollTo(0,0);

smile
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#153027 - 05/28/02 12:11 PM Re: [6.3.x] [beta] Page Top Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
or <a name="top"> at the top and #top tipsy
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#153028 - 05/29/02 04:08 AM Re: [6.3.x] [beta] Page Top Hack
Nervana Offline
Junior Member

Registered: 03/22/01
Posts: 19
Loc: Cairo, Egypt
I already change it to javascript:scrollTo(0,0);
working perfectly now thanks C.C.
_________________________
Nervana
Cairo, Egypt

Top
#153029 - 05/29/02 05:06 PM Re: [6.3.x] [beta] Page Top Hack
Paulus Magnus Offline
Content Kidman

Registered: 10/15/01
Posts: 80
I just tweaked the code so that the bottom rule and graphic is properly aligned with the top rule. I also added the "#top" fix described above.

[code][/code]
_________________________
» Team Nicole | UBB v6.3.0 «

Top
#153030 - 06/20/02 11:58 AM Re: [6.3.x] [beta] Page Top Hack
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25461
Loc: Texas
nice work laugh
_________________________
- Allen wavey
- What Drives You?

Top
#153031 - 06/21/02 02:55 AM Re: [6.3.x] [beta] Page Top Hack
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
I think I installed this without that fix CC posted. I will check..

Top


Who's Online
1 registered (GEN), 23 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Displaying a gif for a paying member
by Iann128
Yesterday at 07:04 AM
Restore The "New Topic Is Highlighted" Feature
by hikelite
01/02/09 07:41 PM
Web Hosting
by Pilgrim
01/02/09 04:13 PM
Finishing touches on a UBB migration
by AllenAyres
01/02/09 03:04 PM
Sidebar options?
by Pilgrim
12/26/08 03:40 PM
Legacy Style
by sirdude
12/24/08 07:18 PM
ubb.social
by Placebo
12/21/08 07:30 AM
New Mods
Displaying a gif for a paying member
by Iann128
12/29/08 11:44 AM
Legacy Style
by Micky
12/21/08 01:36 PM
ubb.social
by
08/03/06 10:38 AM
Newest Members
bluedthunder, blaqskreen, RAICHU, sebak, BaronDriver
13371 Registered Users
Top Posters
AllenAyres 25461
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks