
February 26th, 2013, 05:25 PM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 4
Time spent in forums: 40 m 27 sec
Reputation Power: 0
|
|
Am not sure I need Javascrip code, or only a massage that shows the grades.
By the way, here an exmple of java script code which appearse after doing the quiz in a new page. Maybe you want to check it out.
Code:
<html>
<head>
<title>Thanks for taking the quiz.</title>
<link rel="stylesheet" type="text/css" href="/includes/quizbox.css" />
<script type="text/javascript">
<!--
if (window!= top)
top.location.href=location.href
// -->
</script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4407917-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</head>
<body>
<table width="600" align="center" cellpadding="10" cellspacing="10">
<tr>
<td colspan="2" align="center" bgcolor="#f0f0f0">
<h3>Thanks for taking the quiz.</h3>
<h1>Score: 0</h1>
<p><font size="5"><a href="javascript:history.back()">Try Again</a></font></p>
</td>
</tr>
<tr>
<td valign="top">
SCORING<br>
</td>
<td valign="top">
YOUR SCORE STATISTICS<br>Size: 0, Min: Infinity, Max: -Infinity<br>Range: -Infinity, Middle Of Range: NaN<br>Average: NaN, Mode: NaN<br><br>First Quarter: NaN, Median: NaN, Third Quarter: NaN<br>Sample Variance: NaN, Standard Deviation: NaN<br><br>PATTERN SIGNATURE<br>
</td>
</tr>
</table>
</body>
</html>
|