ext_12744 ([identity profile] telophase.livejournal.com) wrote in [personal profile] telophase 2005-02-17 09:55 pm (UTC)

Currently it produces the string "Right: 3 Wrong: 9 Percent right: 25" (with the actual numbers that the person got right or wrong; and which will be modified once I get word back from the people in charge as to what they want in the email). The actual file that contains that function is here (http://libnt4.lib.tcu.edu/www/eref/instruction/yourSearchpath/mod3/quiz/cookies.js).

I added printQuizForm at the very end of the file, modified from the original printQuizTotal, somewhere in the midst of the file, because the original contains HTML formatting and I wanted to send the messages plaintext. The quiz results page is here (http://libnt4.lib.tcu.edu/www/eref/instruction/yourSearchpath/mod3/quiz/results.html) and the quiz starts here (http://libnt4.lib.tcu.edu/www/eref/instruction/yourSearchpath/mod3/quiz/index.html), if you're bored and want to play. When you get to the results page, typing 'sfolse' into the box that pops up and asks you for your name produces the submit button; anything else doesn't.

I'm currently hijacking the script that sends comments to librarians (don't worry, it only mails to the email address you type in), since that's simplest. Once I find out what they want me to send in the emails, I may have to modify it to give me better formatting.

Post a comment in response:

This account has disabled anonymous posting.
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting