I've run into a problem in JQuiz when I use Javascript "window.open" in the instructions div to create a link to a dictionary popup window, while at the same time including the flash MP3 player as an audio clue in a question.
Doing so creates a conflict such that neither the link nor the player appear; what's more, other elements on the page, such as the "Next" and "Previous" buttons and any linked images, also disappear.
Here are the anchors I'm trying to use:
- In JQuiz instructions:
<a onclick="//www.ldoceonline.com/', 'ldoce', 'width=635, height=450'); return false;" href="void(0)">Longman Online Dictionary</a>
- In JQuiz question:
<a href="http://mysite.net/file.php/1/audio/myaudio.mp3"></a>
I've tried combining these in other parts of my Moodle and they work fine together. It appears to be an issue in QuizPort.
Other possibly useful info: removing one element from the file will cause the other to appear. Plus, it only seems to be an issue when the Javascript tag is located in the instructions. If I put both elements in the question, they appear without a problem. Also, if I put them both in the instructions with the audio link FIRST, they both appear and function properly. Any idea what might be causing the problem? Jim
(Edited by Gordon Bateson - original submission Wednesday, 23 September 2009, 03:56 AM)