Combining answers by Petr and Sarfraz, I arrive at the following. On page1.html in the link: <a href="page2.html#elementID">Jump</a> Save On page2.html in the body: <script type="text/javascript"> $(document).ready(function() { $('html, body').hide(); if (window.location.hash) { setTimeout(function() { $('html, body').scrollTop(0).show(); $('html, body').animate({ scrollTop: $(window.location.hash).offset().top }, 1000) }, 0); } else { $('html, body').show(); } }); </script>