JavaScript in questions

JavaScript in questions

by Laurentiu Stoleriu -
Number of replies: 0
When using an older version of Moodle (1.1 or 1.2) and I was able to insert javascript driven butoons (like <INPUT onclick="javascript:void(window.open('address', 'name', 'height=..., width=..., toolbar=no, menubar=no'))", type=BUTTON, value=SOMETHING>) and it was very useful for me - I was able to open this way small popup windows containing java applets related to the question.
Now, in ver. 1.4.1, I see that javascript is eliminated from the body of the question. Of course, I could replace the button with a link (like <A HREF... TARGET="_blank">) but I cannot control the size, the menubar and the toolbar of the popup window.
Is there any way to use javascript in questions? Is there other solution for my problem?

Thanks!
Average of ratings: -