facebook

Link in html to call new app screen: CLOSED

💡
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 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #331685 Reply

    herb200mph
    Participant

    Using a hard coded link within the html container, how does the link call another page in the APP? (or what is syntax required?)

    We have an app with many screens and have buttons and scrolling html text in most of them.

    Within the html scrolling text, we have links that need to connect to other “top level” app screens.

    These are NOT widget buttons; they are images that need linking code assigned to call up designated pages.

    How do we do that?

    #331700

    Hi herb200mph,

    You should add the onclick attr to your <img> tag:

    <img src = “http://domain.org/myimage.jpg&#8221; onclick=”phoneui.gotoPage(‘m1-map’)” >

    Just change the name of the screen to navigate and ensure that you add its .mobi file as a Additional Project File.

    #331702

    herb200mph
    Participant

    Well, that seems easy enough.

    Will post report of success (hopefully!), or otherwise.

    Thanks for your reply.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Link in html to call new app screen: CLOSED

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