Using the HTML5 client for QuizImage
Updated November, 2017
The QuizImage Lesson Builder generates HTML files with
the Java Applet tags. In order to use the HTML5 client
code, you need to edit the HTML.
Here is the scoop on the QuizImage and DiscoverImage.
You really only have to move the old lines without
changing them -- should make life much easier. Here are the
details:
- the "quizimage_min.js" file is the client code and should
be put in a convenient location.
- For each lesson: in the lesson's HTML, within the
<head> block
insert this:
(you will need to set the "data-mode" to either "quiz" or
"discover" depending on the lesson type).
- Also, replace the tag with:
- Then, locate the <APPLET>...</APPLET> tag in the HTML file.
Copy _all_ of the lines between these two tags (they will all
start with <PARAM ...>) and paste them just before the
"</script>" line (which closes off the <script> tag)
in #2 above. When you're done with this step, #2 should now look
something like:
- Go back to the <APPLET>....</APPLET> lines
and replace all that with:
There may need to be some fiddling with the "margins" on this,
One other thing -- You might want to change all the "font_size" values to 16 or
so...whatever looks good!
Enjoy!