Why does not the scroll come up?

1

I have a problem with the scroll of my page. When I'm in the middle of the page or just download it a bit and try to update my page, either with F5 or by clicking the update button on the browser, the page stays there; It does not do anything. In other words, it does not come back up.

    
asked by luis 28.11.2016 в 00:07
source

2 answers

2

For that you have to use a bit of javascript :

window.onbeforeunload = function () {
  window.scrollTo(0, 0);
}
    
answered by 28.11.2016 / 00:13
source
0

Your problem is the cache of your browser.

Manually you can update the Mozilla Firefox browser page with 'Ctrl + F5'.

    
answered by 28.11.2016 в 04:22