Using localscroll
on ready but the browser snaps to hash on ready. How do I prevent that and have it scroll to the top no matter what?
if this is not possible. How do you offset the position of the window.location
of hash?
Use $(window).scrollTop(0);
$(function(){
$(window).scrollTop(0);
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With