I have compared your custom html with a standard JMatch html file and discovered that you made the following changes:
- change all occurrences of "left" or "Left" to "right"
- change all occurrences of "right" or "Right" to "left"
- in the doDrag() function, change "+difX" to "-difX"
Actually if would have been better if you had done the search-and-replace in a case sensitive manner, i.e.
- left -> right
- Left -> Right
- right -> left
- Right -> Left
- +difX -> -difX
Because you did case insensitive search-and-replace, your custom html file contains an occurence of "offsetright" which is not valid. That should be "offsetRight".
Note, that if you had make those changes to the following files in the Hot Potatoes source file templates - located in the "source" folder within whatever folder Hot Potatoes is installed at on your PC, you could use the normal JMatch program to edit your quizzes, and generate html files from within JMatch
- djmatch6.ht_
- djmatch6.js_
However ...
... this doesn't seem to help when we try to run the quiz through HotPot for Moodle 2.x. As you may know, the CSS on Moodle 2.x is considerably more complicated than on Moodle 1.x, so we might have to be a little more sophisticated in the way we modify the JMatch file.
I am rather busy at the moment, and I won't be able to give this issue my full attention until I have completed several high priority tasks that must be done ASAP. I expect I can look at it later this week.
regards
Gordon