Click to See Complete Forum and Search --> : scrollbars
leprkn
07-11-2003, 05:48 PM
i want to make my own scrollbars in my web page and have done so with css but don't really like the way they look. i'd like to have custom up and down arrows and maybe even a custom looking slider.
can anyone help?
brendandonhue
07-11-2003, 11:48 PM
Here is the script
<script language="JavaScript">
function scroll(amount)
{document.scrollBy(amount,0);}
</script>
Then have the scroll up button like this
<img src="up.gif" onmouseover="scroll('15')">
and the down button like this
<img src="down.gif" onmouseover="scroll('-15')">
micjohnson
07-11-2003, 11:50 PM
also check out some javascript site such as www.dynamicdrive.com and javascript.internet.com