![]() ![]() How can I scroll the page enough to hide a mobile browser's address bar shortly after the page loads?ĮDIT: The more I look into this, the more impossible it seems to do it without user interaction. No visible scrolling took place when I did that. I imagine there's some way I scroll the body of the page using javascript that will hide it but what I've tried so far doesn't work. Both of these seem unintuitive ways to do this. If I touch the navbar and drag it upward then the address bar moves off screen. If I scroll to the absolute bottom of the list (that's 721 entries) then any more scrolling will move the address bar off the top of the screen. However, with the way I've set up the page it doesn't want to scroll the address bar out of sight. I'm working on a Pokedex that contains a very long list of all the Pokemon. I'm running into a bit of an issue with my site allowing this. As the body of the page scrolls, these browsers will scroll the address bar off screen to give more real estate to the website as shown in this image: Safari and Chrome on mobile devices both include a visible address bar when a page loads. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |