You can use something like this to scroll to #someElement when loading the page:
$(document).ready(function() { $("html, body").animate({scrollTop: $("#someElement").offset().top}, 1000); });
It simply animates the scrollTop property of the scrollTop element and uses the top offset of some specific element as the position to scroll. Animation lasts 1000 ms.
Note: it selects both html and body , so it works in browsers. I'm not sure about the specifics, but some quick tests show that Chrome uses body , but Firefox and IE use html .
Here is a working example .
source share