SyntaxFix
Write A Post
Hire A Developer
Questions
scrollBottom is not a method in jQuery.
scrollBottom
UPDATED DEMO - http://jsfiddle.net/xEFq5/10/
Try this:
$("#upClick").on("click" ,function(){ scrolled=scrolled-300; $(".cover").animate({ scrollTop: scrolled }); });