Escript

Escript supports this item

Supported

144 comments found.

Is it possible to play a sound when someone presses submit and its correct or when its wrong? a positive ding sound would play if right and an annoying beep sound would play when its wrong. Thank you! Great script by the way!

Hi. You can add events to the pass, partial and fail feedback. As well as the built in animation events, you can also call your own custom javascript functions in these events. So you would need to include a HTML5 audio tag in your page (presumably hidden) then write the javascript to change/load/play the src file for the audio player.

Is there something i have to do when uploading the folders and html files to my server? I am just getting the preloader spinning and the quiz never loads. I tried just dropping in your demo files as I downloaded them from CC and it does the same thing.

Thank you for the quick response. I just zipped up the code provided from CC and uploaded to Cpanel without any changes. Then unzipped it. I checked the js and xml files to ensure they remained intact. Im still getting the preloader spinning. I checked console and get these errors:

Failed to load resource: the server responded with a status of 403 (Forbidden) quiz.js:13 Uncaught ReferenceError: MCQ is not defined at quiz.js:13 chrome-extension://geoojlmkoihngmefkfnkpmpnnfcglofg/content.js:14 Uncaught SyntaxError: missing ) after argument list quiz.js:3 Uncaught ReferenceError: MCQ is not defined at Quiz (quiz.js:3) at Element.create (essemble_core.min.js:1) at ElementLoader.load (essemble_core.min.js:1) at Screen.createElements (essemble_core.min.js:1) at Screen.loadXMLCompleteHandler (essemble_core.min.js:1) at j (jquery.js:1) at Object.fireWith [as resolveWith] (jquery.js:1) at x (jquery.js:1) at XMLHttpRequest.<anonymous> (jquery.js:1)

This is on the Responsive Quiz 2 page.

Hi, it looks like you need to change the file permissions of quiz.js to allow read access – 403 (forbidden) means the file does not have read access on the server. You can usually change the file permissions using your FTP client.

That worked! Thank you.

Is it possible to copy the quiz script into a bootstrap html admin template?

Yes, the responsive demos use bootstrap v3.1.1 css and class references. You can also change any class references in the xml to whatever css framework you’re working with. Target the id of the container in which to render the quiz in the init() function.

support the other language?

Yes, it supports whatever language to choose to use.

by
by
by
by
by
by