|
 ȨÆäÀÌÁö |
20³â Àü |
<script language="vbscript">
sub document_onkeydown
if window.event.keyCode = 93 then
msgbox "¸¶¿ì½º ¿À¸¥ÂÊ ¹öÆ°Àº »ç¿ëÇÒ¼ö ¾ø½À´Ï´Ù.", 48, "¾Ë¸²"
end if
if window.event.shiftKey and window.event.keyCode = 121 then
msgbox "¸¶¿ì½º ¿À¸¥ÂÊ ¹öÆ°Àº »ç¿ëÇÒ¼ö ¾ø½À´Ï´Ù.", 48, "¾Ë¸²"
end if
end sub
sub document_onmousedown
if window.event.button = 2 or window.event.button = 3 then
msgbox "¸¶¿ì½º ¿À¸¥ÂÊ ¹öÆ°Àº »ç¿ëÇÒ¼ö ¾ø½À´Ï´Ù.", 48, "¾Ë¸²"
end if
end sub
function make_time(cur_num)
dim t_time,t_min, t_sec
t_time=0
t_min=0
t_sec=0
t_time = int( cur_num / 3600 )
t_min = int( (cur_num - t_time*3600 ) / 60 )
t_sec = int (cur_num - t_time*3600 - t_min*60 )
t_time = right(10000+t_time,2)
t_min = right(10000+t_min,2)
t_sec = right(10000+t_sec,2)
if t_time ="00" then
make_time= t_min+":"+t_sec
else
make_time= t_time +":"+t_min+":"+t_sec
end if
end function
</script>
<script language="JavaScript">
<!--
function right(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
return false;
}
return true;
}
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
function keypressed() {
if(event.keyCode==122) { //f11
self.close();
}
if(event.keyCode==116) { //f5
self.close();
}
// else return false;
}
document.onkeydown=keypressed;
-->
</script> |
|
̵̧ : 396 |
̵̧
¸ñ·Ï
|
|