Difference between revisions of "Template:Top"

From GodWiki
Jump to: navigation, search
m (Further)
(Tags: Mobile edit, Mobile web edit)
m (Seeking how to fix the template interferance with other wikitable)
(Tags: Mobile edit, Mobile web edit)
 
Line 1: Line 1:
 
<div id="BackToTop" class="noprint" style= "position:fixed; top: 87%; left:2%; z-index:9999; padding:0; margin:0;">
 
<div id="BackToTop" class="noprint" style= "position:fixed; top: 87%; left:2%; z-index:9999; padding:0; margin:0;">
 
{| class="wikitable" style="font-weight: bold; font-size:95%; text-align: center; table-layout: fixed; background: #F0F8FF; "
 
{| class="wikitable" style="font-weight: bold; font-size:95%; text-align: center; table-layout: fixed; background: #F0F8FF; "
{{!}}[[#top|Back to the Top]]
+
|[[#top|Back to the Top]]
{{!}}-
+
|-
{{!}}[[#footer|To the Bottom]]
+
|[[#footer|To the Bottom]]
 
|}
 
|}
 
</span></div>
 
</span></div>

Latest revision as of 22:17, 29 March 2020

📚 Documentation

The {{Top}} Template adds floating "Back to the Top" AND "To the Bottom" buttons to the bottom left of any page it is applied on.

Like the names implies, these buttons allow users to jump back to the top or bottom of the page in a single click. The buttons are static, and therefore do not move when the page is scrolled, and are compatible with mobile view.