| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Jan 2005 Location: Liverpool, UK
Posts: 159
![]() | 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. ????: NamePros.com http://www.namepros.com/programming/212011-javascript-scroll-div-content.html HTML Code: <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 by Harro; 06-30-2006 at 01:14 AM.
Reason: Solved
|
| |