I found a simple way, no java, just css & html.
-
Put this in the
<after header><a name="top"></a> <a class="to-top" href="#top" title="Go to top">^</a> -
Then a little fancy css:
.to-top { z-index:3; position: fixed; left: 2%; bottom: 5%; padding: 10px; line-height: 12px; font-size:18px; color:black; border:solid 1px black; border-radius:10px; -webkit-animation: float 1s infinite alternate; animation: float 1s infinite alternate; } .to-top:hover{ color:white; background:black; } @keyframes float { 0% { transform: translateY(10px); } 100% { transform: translateY(30px); } } @-webkit-keyframes float { 0% { transform: translateY(10px); } 100% { transform: translateY(30px); } }
Then you will get this beautiful & attractive āgo to topā button 
(itās moving ^^! see it in action here: forum.fususu.com/t/topic/21/last)

