Version 2

FilterPluginBacktoTop

Return to the top of a page

Created by: kinderlehrer, Last modification: 27 Nov 2008 (18:59 UTC) by kinderlehrer
NEW FEATURE - STILL TO TEST

If you enable this in Liberty > Plugins, it will give you the ability to add a link to the headers you specify on a wiki page so that clicking on this link will return the user to the top of the page.

This is especially useful where a table of contents is featured at the top and therefore it is easier to go up, in order to find the next area to navigate down to; and on long pages.

To use this filter plugin, add {backtotop} to the top of your wiki page.

You can specify which headers you want it to apply to.

KeyTypeComments
minnumeric (optional)If you specify 2 here, backtotop will only add links from h2 to h6 level.
maxnumeric (optional)If you specify 3 here, backtotop will only add links from h1 to h3 level.


Example: {backtotop min=2 max=3}

Or, if you only want to have one link to top at the bottom of the page, simply do: {backtotop min=10}

Please note that to make the link stand out on your page, so that users can easily see it to click it, you may like to add something like this to your CSS file:

a.backtotop {display:block;text-align:right;}


Page History
Date/CommentUserIPVersion
28 Nov 2008 (21:38 UTC)
alt css
kinderlehrer118.90.87.1495
Current • Source
kinderlehrer118.90.87.1492
View • Compare • Difference • Source
kinderlehrer118.90.87.1491
View • Compare • Difference • Source