Lefora Free Forum
Loading
176 views

Back to Top button / link

Page 1
(items) 1–7 of 7
guest
96 posts

CJO,

Here's a poser for you.  Is there a way to add a BACK TO TOP link to the bottom of every post so that when a long list of posts is encountered, users who only use their Mice could click it to return to the top of the page.

I have been experimenting with Greasemonkey but I feel there could be an easier way.

Over to you :)

__________________
Always remember you're unique. Just like everyone else.... www.fiftyplusforum.co.uk
Too much free time - founder
725 posts

I think this would have to be coded into the page html...
  
This occasionally annoys me too.

__________________
hackyour.lefora.com/ for customizing your forum.
guest
96 posts

Yes, that's what I thought too. Thanks anyway.

__________________
Always remember you're unique. Just like everyone else.... www.fiftyplusforum.co.uk
guest
96 posts

Fixed the problem with a Bookmarklet.

javascript:{scrollBy(0,-10000)}

:)

__________________
Always remember you're unique. Just like everyone else.... www.fiftyplusforum.co.uk
Too much free time - founder
725 posts

How does that work then? I thought javascript was blocked here for users?

__________________
hackyour.lefora.com/ for customizing your forum.
guest
96 posts

Yes Javascript is blocked here but BOOKMARKLETS are links with script code in them that are saved as bookmarks by the user. They run independent of the site.

The easy way to use the one above is to drag a PERMALINK from any page to the Bookmarks toolbar on the browser. Say the one above on your post.
Right click the Permalink and select Properties. 
Change the NAME from permalink to something sensible like SCROLL UP 

Change the LOCATION text from "http://hackyour.lefora.com/2009/01/31/back-to-top-button-link/3217253/" to the to "javascript:{scrollBy(0,-10000)}" 

Click SAVE CHANGES and you're done. For any page that is very long on any site you visit you can scroll back to the top with one click. 

Change the - to + to scroll UP. Change the value after the sign for smaller scroll steps. 

There are loads of readymade BOOKMARKLETS out there.


__________________
Always remember you're unique. Just like everyone else.... www.fiftyplusforum.co.uk
Too much free time - founder
725 posts

A big thumbs up for that one!

__________________
hackyour.lefora.com/ for customizing your forum.
Page 1
(items) 1–7 of 7

Locked Topic


You must be a member to post in this forum