javascript - Force page to load at top + Disable scrolling while page loads -
My header is slightly shorter and it breaks if the page loads down half way (if the link w / a # At the end of the URL) or the loader when you scroll.
The page loads when I use JS to disable scrolling, and forces the page to load up too much.
Thanks
You can try:
$ (document) .ready (function () {$ (this) .scrollTop (0);});
Comments
Post a Comment