Using Custom Script for Questions

Re: Using Custom Script for Questions

by Yaniv Cogan -
Number of replies: 0
OK, made it! I just used the same method as before - added the images to the document, gave them an ID and hid them, and then accessed them through javascript:



I would guess that generally speaking, this method of changing the UI is frowned upon? I personally find it easier (because I have no familiarity with the core Moodle code, or PHP), but it is admittedly very roundabout.

If anyone is interested in achieving the same result regardless of the way there not being very elegant, I will gladly post the code once I'm done developing it.