Hello to all,
I have added custom javascript lines to my hotpot exercises. I stored them in the same folder as the exercises themselves (in the Taskchain folder)
They work fine, but I have a large number of exercises, and editing my javascripts lines means replacing all the files for each taskchain.
I would like to have just one .js file that would be called from the <HEAD> section of the Hotpot files just like you call a regular js library. I've tried to store the file in a folder in the same domain, but it does not get loaded.
My question is: where should I put the .js file and how can I call it?
Thanks for you much appreciated help.