Solved: Javascript - Scroll Div Content
I have been trying to get the content of a div to scroll by use of a link. Here is the closest I have got so far.
(content is the div id)
...and calling the function from the link, this works in IE however it does not in FF. Anyone body know how to get this working in FF, or know of anyother ways to do this.
Thanks for any help you can give.
Harro
I have been trying to get the content of a div to scroll by use of a link. Here is the closest I have got so far.
HTML:
<script language='javascript'>
function move_up() {
content.scrollTop += 10;
}
function move_down() {
content.scrollTop -= 10;
}
</script>
...and calling the function from the link, this works in IE however it does not in FF. Anyone body know how to get this working in FF, or know of anyother ways to do this.
Thanks for any help you can give.
Harro
Last edited:







