facebook

New Page via Code

πŸ’‘
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
  • #343470 Reply

    DrColgate
    Member

    Hey,
    I would open a new .mobi via Java code.
    What is the code of the onclick function?

    Thanks

    #343475

    Hi,

    Use the javascript function:

    phoneui.gotoPage('screen-name', 'DEFAULT');

    Examples:

    phoneui.gotoPage('m1-main', 'DEFAULT');
    phoneui.gotoPage('m1-secondScren', 'DEFAULT');
    #343505

    DrColgate
    Member

    @support-octavio wrote:

    Hi,

    Use the javascript function:

    phoneui.gotoPage('screen-name', 'DEFAULT');

    Examples:

    phoneui.gotoPage('m1-main', 'DEFAULT');
    phoneui.gotoPage('m1-secondScren', 'DEFAULT');

    Thank you, but isnΒ΄t work πŸ™
    Is there another possibility ?

    DrColgate

    #343521

    Hi,

    I am almost sure that the problem is that your secondary screens are not linked to screen with link buttons. So you have to add them as additional project files, see: http://www.genuitec.com/mobile//docs/highlights/2.2.0/#sec10

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: New Page via Code

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