Add: notifier javascript on HTML
This commit is contained in:
@@ -77,5 +77,20 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="LicenseTimer" style="text-align:center;"></div>
|
<div id="LicenseTimer" style="text-align:center;"></div>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var timeOutEventID;
|
||||||
|
function ShowNotifyTimeOver(timeLeft) {
|
||||||
|
timeOutEventID = setTimeout(function() {
|
||||||
|
alert("!!! 60분 시험 시간 종료 !!!\n작업을 중단하고 선생님을 불러주세요.");
|
||||||
|
// notify("시험 시간이 끝났습니다!!!");
|
||||||
|
}, timeLeft);
|
||||||
|
}
|
||||||
|
|
||||||
|
function CancelNotifyTimeOver() {
|
||||||
|
clearTimeout(timeOutEventID);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user