How to use Jquery to make the page is loaded it is loaded at a certain pixel?

It is necessary that the page loads with the indent from the top edge, that is, that scrolling was almost in the middle. This can be accomplished?
July 2nd 19 at 18:21
1 answer
July 2nd 19 at 18:23
Solution
So you can either
var height=($("body").height()) / 2; 
$("html, body").animate({ scrollTop: height }, "slow");


Or without jquery
window.scrollTo(x,y);

Find more questions by tags jQueryJavaScript