facebook

Javascript changing MultiPage Container Screen

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

    acesteve888
    Member

    Hi,

    At the moment I have a drop down menu, a button and a multi screen container.

    When clicked, the button runs Javascript that simply gets the value in the dropdown box and stores it to a variable.

    Is it possible to have the multi page container change screen depending on what value in the drop down was selected and if so how would that be implemented?

    e.g

    if (selected = "optiontwo")
             {
             //show page 3 on multi screen container (id of container is 'multipage')
             }

    Thanks,

    Steve

    EDIT
    Solution found.

    #343050

    Hi,

    You need to do something similar than this Wayne’s example:
    https://www.genuitec.com/support-genuitec/viewtopic.php?p=6351#p6351

    But instead using phoneui.gotoPage you need to use phoneui.gotoMultiPagePage, see example here:
    http://www.genuitec.com/support-genuitec/viewtopic.php?p=16894#p16894

    Let me know how it goes for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Javascript changing MultiPage Container Screen

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