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 Larry,

    I am trying to send you a donation and couldn't figure out how. I went to the page but didn't see an option other than the 6 month pledge? I could be missing something. Can you let me know? I definitely want to help you out.

    I will send you a sample of what i have so you can see how others(me) are using jquizme. I wanted rounded corners, drop shadows, etc. So i added a bunch of divs to the source. Turned out quite nice!

    I was having one problem though. I am having a hard time getting IE7 & 8 to obey the animationType(0, 1, or 2). I wanted to use the fade animation so i changed it to 1 in the source(to experiment). It works great in FireFox but IE7 and IE8 just keep using the default. Also, when i call it by using "options" when setting up the quiz it works in FF but not IE. Maybe i am not calling it right?

    anyway, thanks again for this terrific app!

  • Nevermind. :o) I figured it out. It looks like the checkAnimation function had a line targeting IE. I changed this value to from 0 to 1 and now the fades work.

    Still need to know how to give you money. :)

    • Hey Shae,
      The reason why checkAnimation will disable animation selection for IE is because there is a CSS bug with IE6 and sometimes with IE7. However IE 8 work right. So I will adjust this setting in the next release.

      IE BUG:
      Start quiz, then restart.
      Now, go through the questions and the quiz should will become deformed on one of the questions.

      Now about donating,
      Donations can be made at the following link.
      http://pledgie.com/campaigns/6475

      The old donation fund ended, so I started a new one that will last for 6 months.
      Note: Pledge.com just take donations, which are called pledges. So if you donate, it's a one time thing, and not a reoccurring payment.
      If I'm wrong, then I'll refund your money and fix the problem.

      • ah. i totally see what you mean. The second time through, for me, the hidden info boxes start popping up when they aren't supposed to. bummer. thanks for the info!

        thanks for the donation info too. Checking it out now.

  • Hey great module!

    I am curious, is there any way to customize the summary to include a "go to the next chapter" button?

    I want to put several quizzes on one page, each embedded in a chapter. Chapters are div's and I am using jquery to go from one to the next. I only want users to see the next button if they score a certain percentage.

    I checked the http://code.google.com/p/jquizme/wiki/HowToUse manual, but did not see any custom summary message where I could add the "gotonext" button code.

    Thank you so much for your amazing work on this!!

    • Hello,
      If I understand correctly, you want a function that will give you the score of a completed quiz, in order to see if the grade is passing or not.
      options.statusUpdate will fix that problem. But there is a small bug with it.
      Here's how to fix it. Fix

      Hey Everyone,
      * Heavy exams in college have been taking all my time these past few months. Sorry for not releasing earlier.
      Please check back on monday for the next release of jquizme.

  • I went through the docs and these comments and forgive me if I skipped over it. I'm looking for a way to grab the answer that the user selects or types. I'd like to merge this with another quiz app I have built that records the user's answer in a database... any tips or pointers or is this possible?

    • Hello John,
      That's a great idea for a new addition to the next update. I thought something was missing.
      Here's the quick fix.
      File: release jQuizMe 2.1/js/jQuizMe-uncompressed.js
      Line: 530 -> in function sendStatus.
      Add: "userAns": userAns.concat(),

      //# Old Code
      var quizInfo = {
      "right": stats.rightAns,
      //# End of Old Code

      //# New Code
      var quizInfo = {
      "userAns": userAns.concat(),
      "right": stats.rightAns,
      //# End of New Code

      userAns is an array of all the user's responses. The userAns indexes corresponse to right and wrong indexes. Read the below to better understand.

      Usage:

      var options.statusUpdate = function( info, currQuiz ){
      if( info.hasQuit ){
      alert( info.userAns );
      alert( info.right ); // List of right indexes.
      alert( info.wrong ); // List of wrong indexes.
      alert( info.userAns[ info.right[ 0 ] ] || 'no right answers.'); // This is the first right answer.
      alert( info.userAns[ info.wrong[ 0 ] ] || 'no wrong answers.'); // This is the first wrong answer.
      }
      }
      $( el ).jQuizMe( quiz, options );

      Hoped that helped.
      Help promote jQuizMe!
      - Larry Battle

      • Thanks a ton. I actually should of downloaded the zip but instead I viewed your source and copied the js from your source URLs. Anyways - got the uncompressed version and that opened it right up - now I can follow along :-)

        This array will work. I'm using ColdFusion in the backend and will use a cfc and jquery to post to the server each answer without having to go to another page.

        Great work and thanks more then a ton

  • Hey Larry,

    I just dropped you a donation. Thanks again for your help and work on this project. I have had a lot of fun with it and have also learned a lot about jquery.

    In my experimenting I was having a problem that i was hoping you could help me with. I have been experimenting with some Spanish quizzes. Obviously there are a number of special characters in Spanish. JQuizMe handles these characters just fine unless the special character is the last character in the answer. For instance, if the answer is “está” it will be flagged as a wrong answer even when you typed it in correctly (ALT+0225). This only happens when the accent is the last character in the answer. For instance “estás” works just fine without any problems.
    I did notice that the answer would show as correct if i added a space (spacebar) after the last character (where you type the answer in the input field – the actual answer in the js does not have the space). I was going to try to append a nbsp; to the answer (when the check btn is clicked) but figured i should ask you in case you know of a more practical way around it.

    Thanks again for all the work. I will keep the donations coming when i can.

    • Hey Shae,
      Thanks a lot for the donation!!

      Could you send me a link to your file?
      It sounds like the encoding in your file format in set to ANSI and not UTF-8. But I'm not sure.
      Also try using options.showHTML = true; in jQuizMe 2.1.

  • Thanks for getting back so quickly. It appears that i am an idiot. I didn't notice that there was a new release until after i posted the message. I downloaded 2.1 and all problems are resolved. You made a lot of changes! Really great ones too! Thanks again for the hard work. It's a great project!

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