Difference between revisions of "Template:Top"

From GodWiki
Jump to: navigation, search
m
(Added a "To the Bottom" button.)
Line 1: Line 1:
 
<div id="BackToTop"  class="noprint" style="background-color:#DDEFDD; position:fixed;
 
<div id="BackToTop"  class="noprint" style="background-color:#DDEFDD; position:fixed;
  bottom:32px; left:2%; z-index:9999; padding:0; margin:0;"><span style="color:blue;
+
  bottom:55px; left:2%; z-index:9999; padding:0; margin:0;"><span style="color:blue;
 
  font-size:8pt; font-face:verdana,sans-serif;  border:0.2em outset #ceebf7;
 
  font-size:8pt; font-face:verdana,sans-serif;  border:0.2em outset #ceebf7;
 
  padding:0.1em; font-weight:bolder; -moz-border-radius:8px; ">
 
  padding:0.1em; font-weight:bolder; -moz-border-radius:8px; ">
 
[[#top| Back to the Top ]]</span></div>
 
[[#top| Back to the Top ]]</span></div>
 +
<div id="ToTheBottom"  class="noprint" style="background-color:#DDEFDD; position:fixed;
 +
bottom:32px; left:2.3%; z-index:9999; padding:0; margin:0;"><span style="color:blue;
 +
font-size:8pt; font-face:verdana,sans-serif;  border:0.2em outset #ceebf7;
 +
padding:0.1em; font-weight:bolder; -moz-border-radius:8px; ">
 +
[[#footer| To the Bottom ]]</span></div>
 
<noinclude>
 
<noinclude>
{{doc|content=The {{tlx|Top}} Template had a floating "Back to the Top" button to the bottom left of the page it is applied on.
+
{{doc|content=The {{tlx|Top}} Template had floating "Back to the Top" AND "To the Bottom" buttons to the bottom left of the page it is applied on.
  
Like its names implies, this button allow to get back to the top of the page in a single click. The button follow the scrolling and is compatible with mobile view.}}
+
Like the names implies, those buttons allow respectively to get back to the top or to the bottom of the page in a single click. The buttons follow the scrolling and are compatible with mobile view.}}
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 16:18, 12 October 2019

Documentation  Documentation

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

Like the names implies, those buttons allow respectively to get back to the top or to the bottom of the page in a single click. The buttons follow the scrolling and are compatible with mobile view.