The thing about this is that there is, as far as I can tell, no good solution for the fact that it can take a long, long time to return to the top of a page with a lot of text on a mobile device. If I read 3/4 of a lengthy story on my phone and I want to navigate somewhere else on the same website my only practical option is to revisit the main page of the site and start navigating from there.
Do any mobile browsers have a "return to top of page" function? My keyboard has a "Home" key, my phone does not.
I don't know what mobile phone you use, but on iOS tapping the status bar scrolls back to the top of the page (or anything else that scrolls in the system).
Aside: Is there a way to detect that happening in JavaScript? Just thinking that detecting the user doing that and then showing the site's nav bar again would be groovy...
Seriously? Pretty sure this has been in iPhone Safari since 1.0 (tap top bar to scroll to top), or at least as long as I can remember. I realize other browsers/platforms may not have this but that's a pretty big one to leave out...
Comments
The thing about this is that there is, as far as I can tell, no good solution for the fact that it can take a long, long time to return to the top of a page with a lot of text on a mobile device. If I read 3/4 of a lengthy story on my phone and I want to navigate somewhere else on the same website my only practical option is to revisit the main page of the site and start navigating from there.
Do any mobile browsers have a "return to top of page" function? My keyboard has a "Home" key, my phone does not.
I don't know what mobile phone you use, but on iOS tapping the status bar scrolls back to the top of the page (or anything else that scrolls in the system).
Aside: Is there a way to detect that happening in JavaScript? Just thinking that detecting the user doing that and then showing the site's nav bar again would be groovy...
I don't know, but I don't think it's wise to override a system behavior in ways the user doesn't expect. Better just put a button on the page.
Yes, onscroll
Seriously? Pretty sure this has been in iPhone Safari since 1.0 (tap top bar to scroll to top), or at least as long as I can remember. I realize other browsers/platforms may not have this but that's a pretty big one to leave out...
In Safari Mobile, tapping the top of the screen brings you back to the top of the page.