Zarxrax
Member
From: North Carolina
Registered: 2008-03-24
Posts: 949
After learning about the "tip of your tongue" research [ http://forum.koohii.com/viewtopic.php?id=1616 ] it would be nice if the review page could have a simple timer telling you how many seconds you have spent on the current card. This timer could appear right in the "stats" box on the review pages, and would just count off how many seconds the current card has been displayed. Then, if you see that you haven't arrived at an answer after about 10 seconds or so, you could choose to just go ahead and fail the card if you want.
A timer display could also help those of us who are easily distracted to stay on task, almost like a game... "don't let the timer go past 10!" :p
playadom
Member
Registered: 2007-06-29
Posts: 468
Of course, the interface doesn't differentiate between the little step in your head of recognition->writing.
Also, memory doesn't always work in these discrete little units. For example, you could only remember part of a character, write down some primitives, and while in the process of doing so remember the rest of it.
Last edited by playadom (2008 June 18, 4:19 pm)
woelpad
Member
From: Chiba
Registered: 2006-11-07
Posts: 425
Glad my little scripts serve as inspiration.
I'll send you a revised version by email, just some remarks.
The counter is immediately reset after you flip the card. I think it would be better if the time was halted while you're checking the answer, and reset after you press the 'Yes'-'No' buttons.
You don't need to change the 'fSubmit' function. The 'fFlip' function is called twice, once when a new card comes up, and once when the 'Show' button is pushed. Check the faceup variable to see which state you're in, reset if false, halt if true.
Displaying time in 'mm:ss' format would be nicer. There's no format function as such in JavaScript, but some basic arithmetics will get you there quickly.
The line where you push a div element into your timer paragraph is superfluous, as both in resetTime and increaseTime you overwrite the whole paragraph contents with something else. If you want a div instead of a paragraph, put 'div' in createElement. If you want to give it an id, assign it to timer.id. If you want a div inside a p, create a timerParagraph object first and make that the parent of your timer object. None of this is needed however for this script to work.