Up and down button need help.
I've got two great codes I use on my forum for a simple to top and to bottom of the page scrollers when they are clicked one goes in the header the other in the footer:
Code:
<div style="text-align: right;position:relative;z-index:100; margin-bottom:-40px;">
<ul class="controls">
<a class="adjusttobottom" onclick ="scroll(0,document.body.scrollHeight);"><img src="http://www.jr-richscooterdoc.com/Vbanlogo/DownPRO2.png" border="0" alt=" photo tobottom.png"/></a>
</ul>
</div>
Code:
<div style="text-align: right;">
<ul class="controls">
<a class="adjustBackToTop" onclick="scroll(0,0);"><img src="http://www.jr-richscooterdoc.com/Vbanlogo/UPpro3.png" border="0" alt=" photo UPpro3.png "/></a></li>
</ul>
</div>
I use a image for the button and they can be seen here:
http://www.thescooterprofessor.proboards.com/
I've been asked by several members if the buttons can be made to scroll with the page when you are using the normal scroll bar on your browser where you could click on them at any point? Of course I'm sure I would have to move then to the right farther but that's not problem with relative alignment.
Thanks