<body onLoad="showtime()">
<a href=displayq.asp>displayq.asp</a><br>
<a href=displayqz.asp>displayqz.asp</a><br>
<a href=quizjv.asp>quizjv.asp</a><hr>
<hr>
<form name=jumpform size=3>
<select name=quizopt>
<option value="quizauto.asp?subj=math01&process=show" selected>math01
<option value="quizauto.asp?subj=engl01&process=show">engl01
<option value="quizauto.asp?subj=thai01&process=show">thai01
</select>
<input value=Go type=button
onClick="jump(document.jumpform.quizopt.options[quizopt.selectedIndex].value)">
</form>
<form name=clock onSubmit=0>
<input name=face size=12 value="Please wait">
</form>
</body>
<script language="JavaScript">
<!--
var timerID = null
function showtime(){
var now = new Date()
var hours = now.getHours()
var minutes = now.getMinutes()
var seconds = now.getSeconds()
var timeValue = "" + ((hours > 12) ? hours - 12 : hours)
timeValue += ((minutes < 10) ? ":0" : ":") + minutes
timeValue += ((seconds < 10) ? ":0" : ":") + seconds
timeValue += (hours >= 12) ? "PM." : "AM."
document.clock.face.value = timeValue
timerID = setTimeout("showtime()",1000)
timerRunning = true
}
function jump(page) {
window.location = page;
}
//-->
</script>
จำนวน : 39 บรรทัด