How to hide address/tool bar when going mobile

29 views
Skip to first unread message

Maurice Waka

unread,
Sep 18, 2019, 2:40:21 AM9/18/19
to web2py-users
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>

Massimo Di Pierro

unread,
Sep 18, 2019, 11:18:47 PM9/18/19
to web2py-users

Maurice Waka

unread,
Sep 19, 2019, 2:57:17 AM9/19/19
to web2py-users
wow.
Noted

--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/xQOgZh9urrk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@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 all
Reply to author
Forward
0 new messages