facebook

Programmatically call page: 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
  • #335527 Reply

    lemorlenny
    Member

    I have a main page with buttons languages selection, I need to call the next page pressing the flags buttons but before of this I save in the local storage the id of the language selected.
    I know how to save the id in the local storage area with the javascript inside the button but I don’t know how to call the next page I need to show.
    What’s the syntax to call a page.mobi or a multipage directly from javascript?

    Regards.

    #335553

    @lemorlenny,

    You should use phoneui.gotoPage() to change programatically the current screen, note that you might need to add as an Additional Project File the secondary screen if it is not linked with any .mobi design on your project. Hope this is helpful.

    #335585

    lemorlenny
    Member

    @support-octavio wrote:

    @lemorlenny,

    You should use phoneui.gotoPage() to change programatically the current screen, note that you might need to add as an Additional Project File the secondary screen if it is not linked with any .mobi design on your project. Hope this is helpful.

    Many thanks Octavio for your reply.

    ps. I love your captcha!

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Programmatically call page: CLOSED

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