facebook

Javascript to create a custom splash screen: CLOSED

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

    @badal405,

    You should put the code within the phoneui.documentReadyHandler function:

    phoneui.documentReadyHandler = function() {
    setInterval(function(){phoneui.gotoPage(‘LoginForm.mobi’, “FADE”)},3000);
    }

    #336012 Reply

    badal405
    Member

    Hi Octavio,
    Thanks for your reply.

    phoneui.documentReadyHandler = function() {
    setInterval(function(){phoneui.gotoPage(‘LoginForm.mobi’, “FADE”)},3000);
    }

    I did the same thing but still not working. I have attached the screen shot of the property panel and source code area. Maybe there are some settings need to change.
    Waiting for your reply.
    Thanks and best Regards.
    Shaukat

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

    @badal405,

    Apologies, I only moved the code, but didn’t realize that you are invoking your LoginForm screen incorrectly, this should be:

    phoneui.documentReadyHandler = function() {
    setInterval(function(){phoneui.gotoPage(‘m1-LoginForm‘, “FADE”)},3000);
    }

    #336056 Reply

    badal405
    Member

    Dear Octavio,
    Thank you very much. It’s working now but i have to add the LoginForm to the “Additional Project Files” otherwise it will not work.
    Thanks for your great help. May Allah bless you.
    -Shaukat.

    #336080 Reply

    @Shaukat,

    Thanks for sharing your success. Glad to help!

Viewing 5 posts - 16 through 20 (of 20 total)
Reply To: Javascript to create a custom splash screen: CLOSED

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