facebook

web page

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #318686 Reply

    SonamGyato
    Member

    is this possible.

    i’d like to create a page with a navigation bar
    at the top and then the rest of the page being
    a container in which a web-page can be
    displayed.

    e.g. panel.href.location = “http://www.google.com”

    would display that particular url in that page.

    #318688

    support-michael
    Keymaster

    @everest
    We have this capability high on our todo list. The approach for implementing this requirement is to use html iframe. But there is a critical bug with the iOS implementation of iframe. We continue to monitor each iOS release for improvement.

    #318698

    SonamGyato
    Member

    is the problem created by the nav bar requirement.

    in that case a full web-page is fine (preferably with the browser
    nav toolbar enabled then – so that the user can get back to
    the app. (of course all this would work only with data access)

    since the app is being run within the browser – i would think
    this is doable.

    window.href.location = “http://www.google.com”

    should do it…no?

    #318700

    support-michael
    Keymaster

    @everest
    Without an iframe there is no way to reliably support a back button. The issue arises when a user saves the webapp to the homescreen and then launches it (i.e., iOS webapp mode). In webapp mode, the app does not have the traditional browser button bar with back button. So if the webapp navigates to a remote website he will be stranded there if that site does not provide a back button.

    It is very simple to create an app and try it.
    1) Simple create a new app add a button. In the button’s link property enter the url you want to navigate to when clicked. e.g., http://genuitec.com.
    2) Be sure the Test Center is in “Strict webapp mode” (Browser menu>Strict webapp mode) before you run the webapp.
    3) Run the app in the Test Center.
    4) In the Test Center, save the webapp to the homescreen.
    5 Relaunch the app from the homescreen and click the button.
    -The remote URL should load. Can you nav back to your app from the remote site?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: web page

You must be logged in to post in the forum log in