This is a comment on go back or specific article, posted by WikiAdmin at 09/11/2025 05:03
View source for Re: Go back or specific article
**[1] Back to top button**
There is a ((/Dev/Release/R6.1/UpButton back to top button)) in the default theme, however it is shown currently only on smaller screens, thought for keyboard-less devices. On the keyboard, ##[Pos 1]## is available for this purpose.
default.css
%%(hl css)
/* top button */
@media (max-width: 700px) {
.totop-button {
right: 20px;
border-width: 0;
border-style: solid;
border-radius: 100%;
border-color: rgba(255, 255, 255, 1.0);
display: flex;
justify-content: space-around;
align-items: center;
position: fixed;
/* right: -100px; */
bottom: 50px;
width: 40px;
height: 40px;
z-index: 1;
box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
color: rgba(255, 255, 255, 1.0);
background-color: transparent;
transition: all 0.4s ease;
cursor: pointer;
}
/* △ */
.chevron-up:before {
content: "^";
}
a.chevron-up,
a.chevron-up:hover,
a.chevron-up:visited {
color: rgb(51, 51, 51);
text-decoration: none;
margin-top: 5px;
font-style: normal;
line-height: 1;
font-weight: 900;
font-size: large;
width: 100%;
text-align: center;
}
}
%%
header.tpl
%%
<nav class="totop-button">
<a class="chevron-up" href="#top"></a>
</nav>
%%
You may want to remove the media query.
**[2] Navigation to next or previous article**
The ##navigation## action ((/Dev/Release/R6.1/NavigationAction allows to set a backward and forward link)) to scroll between pages.
##""{{navigation [main="/Book"] [prev="ChapterOne"] [next="ChapterThree"] [table=0|1] [title=1]}}""##
{{navigation
prev="/Dev/Release/R6.1/UpButton"
next="/Dev/Release/R6.1/NavigationAction"
main="/Dev/Release/R6.1"
title=1
}}
{{navigation
prev="/Dev/Release/R6.1/UpButton"
next="/Dev/Release/R6.1/NavigationAction"
main="/Dev/Release/R6.1"
title=0
}}
You even could use ##main="!"##, however this only works if self-referencing links aren't disabled.