Page 1 of 1

How to always go to Top of Page

Posted: 2018-04-10 03:43
by ronwill
Is there a way to always jump to the top of page when moving from detailed view to tables or back and also when going from menu/home page to tables?

I've found that often (for example where an entry field exists, or search field) that my browser always takes me to the part of the page where these fields are instead of to the top of page, my header etc.

Help appreciated, Cheers, Ron

Re: How to always go to Top of Page

Posted: 2018-04-16 13:09
by R Tammam
Hello ronwill,

you should use in footer-extras.php

Code: Select all

 $(function(){
window.scrollTo(0,0);
})

Re: How to always go to Top of Page

Posted: 2018-04-22 10:07
by ronwill
Excellent Tammam, works perfectly improved appearance, functionality, thks again
Ron

Re: How to always go to Top of Page

Posted: 2018-04-28 21:05
by R Tammam
you are welcome ronwill , i'm happy that it's working