Difference between revisions of "Extensions:Scroll To Top"
Jump to navigation
Jump to search
(Initialize) Tag: 2017 source edit |
(Feat: set up entire tiny extension page) Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
− | {{Extensioninfobox|title= | + | {{Extensioninfobox|title=Scroll To Top|desc=Tiny extension to add a "Scroll to top" button|auth=Preimpression|status=status stable|github={{Github|user=preimpression|branch=extension/scroll-to-top}}|LKVer=release 2.0.0|migration=no|package=no}} |
− | + | An absolutely tiny extension that uses '''javascript''' to produce a "scroll to top" button when not at the top of a page. It's a circle with the fontawesome double up arrows that rests in the bottom right of any page on your lorekeeper site that has the About/Terms/etc footer (that should be all of them!) | |
+ | |||
== Installation == | == Installation == | ||
− | + | Pull or merge in branch, there you go. | |
+ | [[File:Scroll.png|alt=Screenshot of user dashboard with the scroll to top button displayed.|thumb|Scroll to top button.]] | ||
+ | |||
== Configuration == | == Configuration == | ||
− | < | + | If you wish to change the display, the css (as well as html and javascript) is stored inside the <code>widgets/_scroll_to_top.blade.php</code> file. |
− | + | ||
− | < | ||
== Troubleshooting == | == Troubleshooting == | ||
− | + | Probably won't work for users who have all Javascript disabled - but then again, a lot of the site won't work for them either due to LK's usage of Javascript. | |
− | |||
− | |||
− | |||
− | |||
+ | == Support == | ||
+ | Consider supporting my extensions, big and small, by donating to my [https://ko-fi.com/preimpression Ko-fi]! |
Revision as of 09:00, 21 August 2021
Description | Tiny extension to add a "Scroll to top" button |
---|---|
Author(s) | Preimpression |
Status | status stable |
Github | extension/scroll-to-top |
LK Version | release 2.0.0 |
An absolutely tiny extension that uses javascript to produce a "scroll to top" button when not at the top of a page. It's a circle with the fontawesome double up arrows that rests in the bottom right of any page on your lorekeeper site that has the About/Terms/etc footer (that should be all of them!)
Installation
Pull or merge in branch, there you go.
Configuration
If you wish to change the display, the css (as well as html and javascript) is stored inside the widgets/_scroll_to_top.blade.php
file.
Troubleshooting
Probably won't work for users who have all Javascript disabled - but then again, a lot of the site won't work for them either due to LK's usage of Javascript.
Support
Consider supporting my extensions, big and small, by donating to my Ko-fi!