Scroll Top
Through JQuery:
$('html, body').animate({ scrollTop: 0 }, 200);
(Or)
$("a[href='#top']").click(function() {
$("html, body").animate({ scrollTop: 0 }, "slow");
return false;
});
$('html, body').animate({ scrollTop: 0 }, 200);
(Or)
$("a[href='#top']").click(function() {
$("html, body").animate({ scrollTop: 0 }, "slow");
return false;
});
Comments
Post a Comment