facebook

Cincyplanet quiz

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

    paulD
    Member

    Hey Brandon,

    Had a look at your quiz template on your site and its really great. Just wondering if there is a way of resetting the quiz to its start position again?

    a function to reset back to the init stage. Not had any success with trying today (not suprised 🙂 ) Any thoughts would be awsome!

    Thanks

    Paul

    #346350 Reply

    Brandon
    Member

    Try this (off tthe top of my head:

    function resetGame()
    {
    questionNum = 0;
    myCorrect = 0;
    myAnswer;
    myCorrect= 0;
    myStatus = 1;
    init();
    }

    #346427 Reply

    paulD
    Member

    Thanks! Works like a charm. Couldn’t see the woods for the trees!

    Top man Cincyplanet.

    Paul

    #346430 Reply

    Brandon
    Member

    Glad it worked, forgot to double check the code when I got home…

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Cincyplanet quiz

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