Rev 1114 | Rev 9305 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1114 | Rev 6099 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !set wims_html_onload=examclock(); |
1 | !set wims_html_onload=examclock(); |
2 | !set wims_html_header=!append line |
2 | !set wims_html_header=!append line <script type="text/javascript"> to $wims_html_header |
3 | !if $wims_exam_remain=$empty |
3 | !if $wims_exam_remain=$empty |
4 | !set wims_html_header=!append line function examclock() {\ |
4 | !set wims_html_header=!append line function examclock() {\ |
5 | } to $wims_html_header |
5 | } to $wims_html_header |
6 | !else |
6 | !else |
7 | !set wims_html_header=!append line var examtick=$wims_exam_remain;\ |
7 | !set wims_html_header=!append line var examtick=$wims_exam_remain;\ |
Line 14... | Line 14... | ||
14 | window.status="$wims_name_examremain" + " " + timeStr;\ |
14 | window.status="$wims_name_examremain" + " " + timeStr;\ |
15 | Timer= setTimeout("examclock()",1000);\ |
15 | Timer= setTimeout("examclock()",1000);\ |
16 | } to $wims_html_header |
16 | } to $wims_html_header |
17 | !endif |
17 | !endif |
18 | !set wims_html_header=!append line </script> to $wims_html_header |
18 | !set wims_html_header=!append line </script> to $wims_html_header |
19 | - |