| Syntax: | <HEADEREXTRAS> ... </HEADEREXTRAS> | |
| May Contain: | some HTML tags allowed in the HEAD of an HTML document including: LINK, META, SCRIPT, and STYLE | |
| May Not Contain: | the HTML tags BASE or TITLE or any HTML tag not allowed in the HEAD of an HTML document; any WhizQuiz© tags | |
| The HEADEREXTRAS tag designates the Extra Header Info Section which is a sort of a catch-all section for any HTML or JavaScript code that an author would like to place into the HTML HEAD of the Quiz, Results, and Info pages. This is not a required tag. Use this tag to include STYLE information for formatting with Cascading Style Sheets, SCRIPT language for JavaScripting, or META tags as desired. If JavaScript is included, do not wrap it in HTML comments as is often done, as this can cause JavaScript errors when the quiz is installed. | ||
|
Here is an example of what HEADEREXTRAS could contain:
<HEADEREXTRAS>A META tag to expire the quiz to discourage cheating when using WhizQuiz© for assessment. <META HTTP-EQUIV="expires" CONTENT="0">A script to be called when the quiz is submitted for grading (see the ONSUBMITFUNCTION for more details).
<SCRIPT LANG="JavaScript">
// AskAndSend() is used to prompt for quiz-taker confirmation
// when the "Grade the Quiz" button is pressed.
function AskAndSend (form)
{
if(confirm("Ready to grade.")){
form.submit();
}
}
Using the HTML STYLE tag to move the body of the page over to the right so that it is readable over the background image, but keep the banner flush left.
<STYLE>
BODY { margin-left: 25px; background-image:
url("http://www.cals.vt.edu/whizquiz/doc2/ihsquiz/BACKGROUND.gif") }
DIV.STAYLEFT { margin-left: -25px }
</STYLE>
</HEADEREXTRAS> |
||
WhizQuiz© v.2.0
Developed at ISIS,
Virginia Tech
Send comments to the Developers
Copyright © 1996-1999, Virginia Tech, All Rights Reserved.