JQuery
html
<div id="btn">Top</div>
JQuery
// When you click a link to jump back to the top of the page position $ ( "# btn") the Click (function () {. $ ( 'Body, HTML') Animate ({. ScrollTop: 0 }, 500); return false ; });
JQuery
html
<div id="btn">Top</div>
JQuery
// When you click a link to jump back to the top of the page position $ ( "# btn") the Click (function () {. $ ( 'Body, HTML') Animate ({. ScrollTop: 0 }, 500); return false ; });