All Projects → QuickenLoans → Slickquiz

QuickenLoans / Slickquiz

Licence: mit
A jQuery plugin for creating pretty, dynamic quizzes.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Slickquiz

Multipicker
Form styling plugin for jQuery
Stars: ✭ 90 (-19.64%)
Mutual labels:  jquery-plugin
Bpage
Based on bootstrap style, static page jump can also be asynchronous page processing pagination plugin
Stars: ✭ 96 (-14.29%)
Mutual labels:  jquery-plugin
Jquery Udraggable
make elements draggable by mouse or touch
Stars: ✭ 107 (-4.46%)
Mutual labels:  jquery-plugin
Gdb
Generic Data Binder (GDB) for jQuery is a framework agnostic and extremely easy to use 2 way data binder. GDB binds views and models in realtime with live two-way binding and no hefty framework necessary.
Stars: ✭ 90 (-19.64%)
Mutual labels:  jquery-plugin
Jquery Sortablejs
A jQuery binding for SortableJS
Stars: ✭ 94 (-16.07%)
Mutual labels:  jquery-plugin
Imgnotes
Extension of the jQuery imgViewer plugin to add markers and notes to the image
Stars: ✭ 98 (-12.5%)
Mutual labels:  jquery-plugin
Jquery Slick Rails
Integrates Slick carousel, a jQuery plugin, into your Rails app.
Stars: ✭ 89 (-20.54%)
Mutual labels:  jquery-plugin
Footer Reveal
A jQuery plugin for easy implementation of the 'fixed/reveal' footer effect. Demo here:
Stars: ✭ 111 (-0.89%)
Mutual labels:  jquery-plugin
Picla
jQuery plugin that converts Alt-texts into simple image labels
Stars: ✭ 95 (-15.18%)
Mutual labels:  jquery-plugin
Ihavecookies
jQuery plugin to display cookie consent message (EU regulation)
Stars: ✭ 106 (-5.36%)
Mutual labels:  jquery-plugin
Jquery Lightbox
Superseded by Fancybox: https://fancyapps.com/fancybox/3/
Stars: ✭ 90 (-19.64%)
Mutual labels:  jquery-plugin
Basictable
Basic Table jQuery or Vanilla JS plugin for simple responsive tables.
Stars: ✭ 94 (-16.07%)
Mutual labels:  jquery-plugin
Ax5ui Grid
Javascript UI Component - GRID ( Excel Grid, jqGrid, angularjs grid, jquery grid, SlickGrid, ag-grid gridify)
Stars: ✭ 102 (-8.93%)
Mutual labels:  jquery-plugin
Jquery Youtube Channels Playlist
jQuery plugin youtube playlist
Stars: ✭ 90 (-19.64%)
Mutual labels:  jquery-plugin
Pg Calendar
📆 beautiful and eidetic date picker
Stars: ✭ 109 (-2.68%)
Mutual labels:  jquery-plugin
Waitforimages
A jQuery plugin that lets you attach callbacks to useful image loading events.
Stars: ✭ 1,298 (+1058.93%)
Mutual labels:  jquery-plugin
Pretty Dropdowns
A simple, lightweight jQuery plugin to create stylized drop-down menus.
Stars: ✭ 96 (-14.29%)
Mutual labels:  jquery-plugin
Brickyeditor
WYSIWYG block editor jQuery plugin.
Stars: ✭ 112 (+0%)
Mutual labels:  jquery-plugin
Jquery Scrolllock
Locks mouse wheel scroll inside container, preventing it from propagating to parent element
Stars: ✭ 109 (-2.68%)
Mutual labels:  jquery-plugin
Dropdown
a lightweight dropdown of jQuery plugins
Stars: ✭ 105 (-6.25%)
Mutual labels:  jquery-plugin

This project is no longer actively maintained.

Please see jewlofthelotus/SlickQuiz for updates.

A jQuery plugin for creating pretty, dynamic quizzes.

Demo And Usage

See index.html for demo and suggested HTML structure (the element class names are the important part).

See js/slickQuiz-config.js to set up your quiz copy and questions.

To initialize your quiz:

$(function () {
    $('#slickQuiz').slickQuiz();
});

Available Options

json (JSON Object) - your quiz JSON, pass this instead of setting quizJSON outside of the plugin (see js/slickQuiz-config.js)

checkAnswerText (String) - the text to use on the check answer button

nextQuestionText (String) - the text to use on the next question button

backButtonText (String) - the text to use on the back button, if left null / blank (default) - no back button will be displayed

tryAgainText (String) - the text to use on the try again button, if left null / blank (default) - no try again button will be displayed

skipStartButton (Boolean) - whether or not to skip the quiz "start" button, defaults to false

numberOfQuestions (Integer) - the number of questions to load from the question set in the JSON object, defaults to null (all questions); Note: If you set this to an integer, you'll probably also want to set randomSortQuestions or randomSort to true to ensure that you get a mixed set of questions each page load.

randomSortQuestions (Boolean) - whether or not to randomly sort questions ONLY, defaults to false

randomSortAnswers (Boolean) - whether or not to randomly sort answers ONLY, defaults to false

randomSort (Boolean) - whether or not to randomly sort questions AND their answers (overrides randomSortQuestions and randomSortAnswers), defaults to false. NOTE: this will be deprecated in a future release.

preventUnanswered (Boolean) - prevents submitting a question with zero answers, defaults to false

completionResponseMessaging (Boolean) - Hides all correct / incorrect response messages until the quiz is completed (nextQuestion button replaces checkAnswer button), defaults to false

disableResponseMessaging (Boolean) - Hides all correct / incorrect response messages (nextQuestion button replaces checkAnswer button), defaults to false

Deprecated Options

disableNext (Boolean) - prevents submitting a question with zero answers, defaults to false. You should now use preventUnanswered instead.

Advanced Usage

Want to manage your quizzes in a content management system?

Simply translate your CMS quiz data into a JSON object formatted like "quizJSON" in js/slickQuiz-config.js. Then assign it as the quizJSON variable instead of loading js/slickQuiz-config.js.

Alternatively, you can pass the JSON right into the plugin using the "json" option (useful if you are placing multiple quizzes on a page):

$(function () {
    $('#slickQuiz').slickQuiz({json: {YOUR_JSON_HERE}});
});

Base HTML Structure

The slickQuiz ID and class names are what are important here:

<body id="slickQuiz">
    <h1 class="quizName"></h1>
    <div class="quizArea">
        <div class="quizHeader">
            <a class="startQuiz" href="">Get Started!</a>
        </div>
    </div>
    <div class="quizResults">
        <h3 class="quizScore">You Scored: <span></span></h3>
        <h3 class="quizLevel"><strong>Ranking:</strong> <span></span></h3>
        <div class="quizResultsCopy"></div>
    </div>
</body>

Base Config Options

See js/slickQuiz-config.js

var quizJSON = {
    "info": {
        "name":    "The Quiz Header",
        "main":    "The Quiz Description Text",
        "results": "The Quiz Results Copy",
        "level1":  "The highest ranking",
        "level2":  "The almost highest ranking",
        "level3":  "The middle ranking",
        "level4":  "The almost lowest ranking",
        "level5":  "The lowest ranking"
    },
    "questions": [
        {
            "q": "The Question?",
            "a": [
                {"option": "an incorrect answer",       "correct": false},
                {"option": "a correct answer",          "correct": true},
                {"option": "another correct answer",    "correct": true}
            ],
            "select_any": false, // optional, see below
            "correct": "The Correct Response Message",
            "incorrect": "The Incorrect Response Message"
        }
    ]
}

Note: select_any is used if there is more than one true answer and when submitting any single true answer is considered correct. (Select ANY that apply vs. Select ALL that apply)

Created by Julie Cameron - Software Engineer at Quicken Loans, Detroit, MI

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].