Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.6
-
Fix Version/s: None
-
Component/s: Libraries
-
Labels:None
-
Environment:All
-
Affected Branches:MOODLE_16_STABLE
Description
In the cloze/embedded/multianswer question type in Quiz, feedback is shown upon mouse-hovering over the student's answers.
This popup window is triggered by the liboverlib.js library.
A display bug occurs in MSIE (not in Firefox) if that popup window happens to be displayed OVER another sub-question in the cloze question, i.e. over a form (drop-down box, etc.).
The creator of overlib.js offers a plug-in library to solve this bug. Tried and tested (see enclosed screen dump).
May I suggest that from now on Moodle stable distributions should include the following modifications.
1- add liboverlibmws_iframe.js (download complete archive from http://www.macridesweb.com/oltest/overlibmws.zip)
2- in libjavascript.php, towards line 20, add:
<script language=JavaScript type=text/javascript src=<?php echo $CFG->httpswwwroot ?>/lib/overlibmws_iframe.js></script>
NOTE.- The liboverlib.js library presently distributed with Moodle was last revised January 12, 2005. A newer revision dated June 30, 2006 is available from http://www.macridesweb.com/oltest/overlibmws.zip, under a different name: overlibmws.js.
I recommend that this newer version be distributed with Moodle (under the name of overlib.js so as not to entail further modification of libjavascript.php).
Joseph
From Tim Hunt (T.J.Hunt at open.ac.uk) Friday, 21 July 2006, 02:20 PM:
Reassigning to Martin, since upgrading one of the third party libraries is probably his sort of thing, and I think that is the best way to fix this.
From Joseph R?zeau (joseph.rezeau at uhb.fr) Saturday, 12 August 2006, 11:52 PM:
Martin,
Could you look into this and accept to update to the more recent liboverlib.js for Moodle 1.7 ?
Thanks
Joseph