facebook

Multipage Navigation: CLOSED

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

    merhebm
    Member

    Hello I have created a Multipage.mobi.
    my project contain several other .mobi files.
    when I navigate from any .mobi to multipage.mobi i want always to start on the first page .
    I am not able to do this , it is always pointing me to the last page visited in the multipage.mobi.

    please help me on how to do this.

    Thanks

    #337661 Reply

    merhebm
    Member

    Hello Octavio

    could you please help here,
    what i want is to get the Javascript code equivalent to :
    showpage /multipage widget / page , as if i was setting it from push button action properties

    Thanks

    #337664 Reply

    Brandon
    Member

    You should be able to use something like below
    —————————your multipage widget—————-your multipage page—-transition
    phoneui.gotoMultiPagePage(‘m1-yourform-multiPage1’, ‘SET_PAGE’, ‘m1-yourform-page1’, phoneui.transitions.slideLeft);

    #337669 Reply

    merhebm
    Member

    hello

    this function is working when called from the same form (.mobi file).
    when another form is calling it , it is not working, i have double checked all parameters and all are correct, I have added project files in each of the .mobi form and also added the JS library files for each form, still not working

    please advise
    thanks

    #337872 Reply

    Yann
    Member

    Hi merhebm

    if i understand, you want link a specific tab of multipage widget from other mobi file?
    solution
    http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=5253

    #337885 Reply

    merhebm
    Member

    Hi Yann

    that is exactly what i want,
    i will try your workaround by setting a timer in between the shift to pages.

    Thanks
    MARC

    #337899 Reply

    merhebm
    Member

    Hi Yann

    what you proposed did not work
    i have attached the .mobi files where i have tested this, could you please check and let me know what s wrong.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #337976 Reply

    Hi merhebm,

    I’ve reviewed your code, and without the timeout function it worked well for me:

    phoneui.gotoMultiPagePage('m1-testmultipage-multiPage1', 'SET_PAGE', 'm1-testmultipage-page1', 'NONE');
    phoneui.gotoPage( 'm1-testmultipage', phoneui.transitions.slideRight);
    
    #337981 Reply

    merhebm
    Member

    Thanks Octavio
    this is now working, the issue was that i did not add the gotoPage function as well.

    you may close this thread now

    #338031 Reply

    @merhebm,

    Thanks for the follow up. I’m glad to help. Closing thread.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Multipage Navigation: CLOSED

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