https://forum.playcanvas.com/t/hiding-address-bar-in-mobile/5310

On Tuesday, 17 September 2019 23:40:21 UTC-7, Maurice Waka wrote:
>
> Hello
> I'm testing my app on mobile sites and noticed that the address bad messes 
> up the screen estate when going mobile.
> I'd like to auto-hide it as soon as a user logs in.
> Tried these below but noted that the address bar does not disappear form 
> the screen. I want the app to go full screen on mobile browser.
>
> <style type="text/css">
>   html, body {margin: 0; height: 100%; overflow: hidden}</style>
>
> <script type="text/javascript">
>     $(function() {
>         $(window).scrollTo(0,1);
>     }</script>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/f3fc9eb0-c651-4983-887a-dc0002f94d04%40googlegroups.com.

Reply via email to