HTML5
Monday, October 15, 2012
Scroll to top when clicking a button
$(".signUp").click(function() {
$('html, body').animate({
scrollTop: $(".left").offset().top
}, 2000);
});
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment