Categories: Uncategorized

jQuizMe 2.0 Released.

Hey everyone,

jQuizMe 2.0: Features a everything you need to make a javascript quiz online.

After a few months of programming I’ve finally finish jQuizMe. It took a some time to get done but it feels rewarding.

Anyhow, jQuizMe 2.0 is at code.google now.

http://code.google.com/p/jquizme/

Please post a issues at jQuizMe on Github.com

Larry Battle

I love to program, and discover new tech. Check out my stackoverflow and github accounts.

View Comments

  • Hi, loving this script, But im kinda stuck.. So maybe someone in this forum can give me a hint..

    I have the code: (appx line 464)
    (lang.stats.right + ": " + stats.rightAns.length),

    Id like the (stats.rightAns.length) part to be written in to a hidden form element. like how do I go about creating innerHTML type content i this context (Jquery)?

    // Tnx

  • Sometimes the check and next buttons get covered up in my quiz. It seems to be based on the length of the text in my questions and/or answers. Please help.

  • Fantastic piece of software.
    One question though: can you display ansInfo if the answer is correct? So far it only prints out when it is wrong.
    Thanks a million

    • I included a new option call alwaysShowAnsInfo.
      If set to true, then the answer information will always be shown for an every questions.
      This will be available in jQuizMe 2.2. It will be release on Sunday. I just need to finish the documentation and a few test.

  • I want to use this but I cannot figure out how to add links and images to answers and questions. Has anyone done this. I am looking for samples. THANKS!

  • Anyone have a sample of this with images? I would like to display a different photo above the quiz with each question.

  • I am Flash developer having to learn JS. I have been trying to get the quiz to load a new image above the quiz area with each new question, with no luck. Can anyone provide some help or send me a link to a sample of one someone has produced. Thanks!

    • Hey Adam,
      Question:
      I want to have the photo above the quiz change each time a new question is loaded. Is this possible?
      Answer:
      You can do this by using option.statusUpdate in the manner below.

      ### Code ###

      getNewImageHref( i ){
      var href = [
      // "http://location_of_image 1",
      // "http://location_of_image 2",
      // ...,
      // "http://location_of_image n"
      ];
      return href[ i || 0 ];
      };

      options.statusUpdate = function( quizInfo, $currQuiz ){
      $( "#image" ).attr( "src", getNewImageHref( quizInfo.currIndex ) );
      };

      $.jQuizMe( quiz, options );

      ### End of Code ###

      Question: I have also been trying to get ansInfo to work with this quiz as well so I can display links after the question is answered.
      Answer:
      Use the pre-release of jQuizMe 2.2.
      There is an example of how to always show the answer information for every question.

  • I love jquizme. It is enabling us put out training course much faster!

    Is there a way to:
    Have multiple answers for a multiple choice quiz?
    Have spelling alternatives for a fill in the blank quiz?

    Thank you!

    L

    • Question:
      Have multiple answers for a multiple choice quiz?
      Answer:
      This has to be a new quiz type that I will add in the future.

      Question:
      Have spelling alternatives for a fill in the blank quiz?
      Answer:
      Yes. The answers for fill in the blank are not case sensitive. So "answer" is the same as "ANSwer".
      To have multiple spellings for fill in the blank quiz type, make the answer property an array, with the elements being the acceptable words.

      Example:
      The following question takes 3 different spellings for the word answer.

      var quiz = [{
      ques: "Please type in the word 'answer'.",
      ans: [ "ans", "answer", "answers" ]
      }];
      

  • Sorry, my english is poor. I try explane clearly.
    I am using version 2.2.
    If I use somethig like this:

    "multiList":[
    {
    ques: "Dopl?te vhodné ?íslo do riadku. ",
    ans: "",
    ansSel: ["","","",""],
    ansInfo : "Viac info ..."
    }, ....
    Show is Ok, but if there is any html like in the answer it will not recognize it as the right answer and results
    reports all answers incorrect.
    The link for this example:
    http://www.mbtron.info/sarisskemichalany/iq2/example.html

    • Hey mbtron,
      Thanks for the report and test file.
      The problem seems be that the multiple choice quiz type isn't selecting the whole answer when the user clicked a selection.
      I'll look into this more and get back to you on Sunday.

      Also, lang is the third argument, not the second. That's way the language isn't changing.

      $( "#quizArea" ).jQuizMe(quiz,lang);  //WRONG.
      
      $( "#quizArea" ).jQuizMe(quiz, null, lang );  //Right
      
Share
Published by
Larry Battle

Recent Posts

What really is Data Science? Told by a Data Scientist

What REALLY is Data Science? Told by a Data Scientist - By Joma Tech

7 years ago

Video: How Water Towers Work

How Water Towers Work - Practical Engineering

7 years ago

Dev Tip: Simple tips to improve code reviews

Writing perfect code is a challenging process. That's where code reviews come in to help…

7 years ago

Video: How AI will change the 3d industry

"The Next Leap: How A.I. will change the 3D industry - Andrew Price - Blender"

7 years ago

Best Software Presentation for 2018

"Captain Disillusion: World's Greatest Blenderer - Live at the Blender Conference 2018 - CaptainDisillusion"

7 years ago

Dev Video: A Few Linux Shell Tips

My 5 Favorite Linux Shell Tricks for SPEEEEEED (and efficiency) - By tutoriaLinux > What's…

7 years ago