SyntaxFix
Write A Post
Hire A Developer
Questions
You can use this function wherever you need to call it:
function scroll_to(div){ if (div.scrollTop < div.scrollHeight - div.clientHeight) div.scrollTop += 10; // move down }
jquery.com: ScrollTo