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

  • Hey Dear. Can some one tell me that whats wrong in following script ? it is not displaying question for me. i m fetching Question and all answer from Database but this is not showing , Help me Please..............

    // There was an extra comma at the end of multiList array.
    $( function($){
    var quizMulti = {
    multiList: [

    {
    ques: "",
    ans: "",
    ansSel: ["", "", ""],
    ansInfo : "" // answer information.
    },

    ]
    };
    options = {
    help: "Love to help others..",
    showHTML: true,
    showAns: true,
    animationType: 0,
    showWrongAns: false,
    score:true,
    title: "Vocabulary Quiz"
    };

    $("#quizArea").jQuizMe(quizMulti, options);
    });

  • Is there a way to replace "Help" button with an image that says "Help" in JQuizme?

    • Most of the elements are referenced by a class or id name.

      So to replace the help button with an image, all you have to do is replace the element with an image.

      File: `jQuery-2.2.1.js`

      Line: 24

      Note: This is inside the definition of `_jQuizMeLayout`

      Change:

      $("").addClass( "q-help-btn" ),

      To:

      $("").addClass( "q-help-btn" ),

  • I would like to know if it is possible to add timer to each question so if the timer reaches 0, current questions are blocked and a customizable message is displayed and the next button becomes unblocked.
    It's also be usefull if the plugin has a multilevel option(group of questions). So when we finish first level, a button to next level appears. And at the end of all levels, a summary like today's Final score is displayed.

    Good work man. Sorry for the bad english. States are far away :)
    I really love this plugin, so if I the get answers by mail, it'll be very nice from you.

    • Sorry for the late response.
      You could use the option.statusUpdate().
      Something like this might work.
      var updateProgress = function(val) {
      if (isNaN(val)) {
      return;
      }
      $("#progressBar").css("width", val);
      console.log("Updating the progress to %s", val);
      };
      var options = {
      statusUpdate: function(data, $quiz) {
      var percentComplete = data.hasQuit ? 1 : data.currIndex / data.total;
      updateProgress(percentComplete);
      }
      };

  • Hi Larry,

    Thanks for a great plugin. I've noticed that in my attempts using 2 options with radio input that the correct answer is always the 2nd. Is there something I am doing wrong or is there a fix to randomize the population of the options?

    Thanks!

  • Wow, JQuizMe is what I've been looking for for several years!

    The only problem for me is that it's a little hard for me to modify and style it, because I'm not JavaScript savvy. (I work primarily with PHP.)

    Here are two problems I'm trying to solve...

    1) Positioning - When I import JQuizMe into one of my web pages (using PHP's require function), it displays by default on the left side of the page and at the very bottom of the page. I partially solved the problem by wrapping JQuizMe in a div with the property position: absolute, then adding the following style:

    .quiz-el{
    margin: 0 auto;
    }

    It's now centered, and I could position it as high up the page as I want. The problem is that my footer displays above JQuizMe, instead of at the bottom of the page. I've tried every solution I can think of, including using absolute positioning to the keep the footer at the bottom of the page and giving it the style clear: both.

    Do you know why JQuizMe automatically sinks to the bottom of the page and "sucks up" everything below it?

    2) I'd love to be able to style the answers. For example, wrong answers might have a black background with white text, while correct answers might have an aqua or green background.

    I've been playing with the style sheet and can't figure out a way to do it.

    It would help if I knew the names of the various divs that make up the quiz, but I haven't been able to figure it out. The quiz is essentially divided into five sections:

    Quiz Title
    A strip with Help/Quit buttons
    Question
    Answer
    Comments

    It would be easy (for me) to style the answers if the HTML looked something like this:

    [div class="quiz-el"]
    Comments
    Quiz Title
    A strip with Help/Quit buttons
    [div class="question"]Question[/div]
    [div class="answer"]Answer[/div]
    [div class="comments"]Comments[/div]

    [/div]

    However, I can't figure out if the answer section is even a separate div. It appears that questions, answers and comments are all displayed in one common div, though they're separated by borders. I'm confused.

    Anyway, does anyone have any tips for styling JQuizMe as I've described above?

    Thans for an awesome plugin!

  • Hi Larry! I’m trying to put a 30 seconds time limit to each question. So far I only mange to put the timer, but it does not interact with the quiz. I need to find a way that when the timer reach the 30 second limit, the quiz auto select a wrong answer and go to the next
    question. Do you have a code for that?

    Any help will be greatly appreciated.

1 7 8 9
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