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

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -