Certainly, quiz takers can scroll down and check the time. However, the floating timer was far more user friendly. Is there anyway that that the timer can be 'refloated'?
I realise that one workaround to the sunken timer is to limit the number of questions per page to just one or two. This way, depending on the length of individual questions, the timer will probably be visible without scolling. However, there are occasions when limiting the number of questions on a page is not a viable option.
Any ideas will be greatly appreciated.
--Brian
I committed an update to the quiz CSS file "styles.php" that gives the timer a fixed position in FF. IE still uses JS positioning. You can either add the following properties to "mod/quiz/styles.php" of your Moodle installation or update "styles.php" from CVS.
#mod-quiz-attempt #timer .generalbox {
width:150px
}
#mod-quiz-attempt #timer {
position:fixed !important;
top:100px !important;
left:10px !important
}
* html #mod-quiz-attempt #timer { /*IE special for JS positioning */
position:absolute !important
}
Please report if the changes should not work.
Thank you very much
Urs
Thank you very much for your help.
I downloaded the updated "styles.php" from CVS and installed it into my moodle. The timer still does not float in Mac Safari or Firefox

Given that most of my students use Windows IE, or at least have IE, this fix helps a lot. Thanks again

Thank you for your help.
Your rewritten 'styles.php' seems to be working. I guess the first time I tried, the orginal script was still saved on the server cache.
Anyway, I can now report that the timer floats in the following Mac browsers:
- Firefox 1.0.7
- Safari 1.3.1
- Mozilla 1.7.6

You sollotion for the positioning doesn't seem to work for IE. I've noticed the clock is shown in the statusbar, wich is also a good sollution, but the statusbar isn't shown in the "safe window" option of the quiz.
How do I get a floating timer in IE in the safe window version of quizes?
There's also this change by Penny on 11/8, but I can't imagine that would affect what's on screen.
Are you sure it has ever worked on IE in 1.5?
if(quizTimerValue == 0) {
clearTimeout(timeout_id);
- document.forms[0].timeup.value = 1;
- document.forms[0].submit();
+ document.forms['responseform'].timeup.value = 1;
+ document.forms['responseform'].submit();
Different to this thread but there seems to be a lot of timer related posts here...
One of my students uses
Power Mac G4 (PCI Classic)
PowerPC G4, 400MHz
With OSX and a recent download of Safari. The quiz timer runs slow and stops. Is this because the machine is old and slow? Can anything be done other than to say "get a new personal computer"? Or is the above not so old?
Tim
We've are just upgrading to 1.5.2 and I too noticed the countdown timer was no longer floating but stationary at the bottom of the quiz. Having it floating and visible at all times seems to be better.
But my question has to do with the way the timer is working in 1.5.2, i.e. does it still shut down the quiz at time expiration and give the student a "0" score if they have not yet submitted their exam? We have had several students in our version 1.4.4. become extremely upset when that happened on a three hour exam and they got no credit for their work. Is there a way to have the quiz shut down but save the work they have at that point?
You need the 22 october version of moodle/mod/quiz/
jstimer.php styles.php timer.js(Get them here for example: http://cvs.sourceforge.net/viewcvs.py/moodle/moodle/mod/quiz/ )
May I restate your post to make sure I understand?
In 1.5.2, if a student does not "Submit his quiz for grade" before the countdown timer expires, the student's answers (quiz state) are saved so that the student will/can get credit for the work completed.
When we rollout version 1.5.2, we are planning on taking full advantage of the ability to segment our 100 question final exams into multiple pages so that the "Save with out submit" button is frequently presented to and I hope used by our students. When you mention "Continue" causing the state of an exam to not be saved if the timer expires, I hope you are not referring to the "Save without submit" button.
I do agree with Martin in that we do want to have the quiz automatically close when the time limit (3 hours in our final exam) expires.
thanks
dawn