 |
|
|  |
|
 ȨÆäÀÌÁö |
21³â Àü |
<script language="JavaScript">
<!--
function click() {
if ((event.button==2) || (event.button==3) || (event.keyCode == 93)) {
alert('¸¶¿ì½º ¿À¸¥ÂÊ ¹öÆ°Àº »ç¿ëÇÒ¼ö ¾ø½À´Ï´Ù.');
}
else {
if((event.ctrlKey) && (event.keyCode == 67)) {
alert('³»¿ëÀ» ¹«´Üº¹Á¦ÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.');
}
}
}
document.onmousedown=click
document.onkeydown=click
// -->
</script>
<script Language="javascript">
<!--
var message="Á¤º¸º¸È£·ÎÀÎÇÑ Å°º¸µåÀÇ Á¶ÀÛÀº ºÒ°¡´ÉÇÕ´Ï´Ù.";
function click(mouse) {
if (document.all) {
if (event.button==2||event.button==3) {
alert(message);
return false;
}
}
if (document.layers) {
if (mouse.which == 3) {
alert(message);
return false;
}
}
}
document.onmousedown=click;
function keyDown() {
var keyValue = event.keyCode;
if ( keyValue==13 ) {
return false;
}
if ( keyValue==166 ) {
alert( 'µÚ·Î±â´ÉÀ» ¼±ÅÃÇϼżŠÁ¾·áÇÕ´Ï´Ù.' );
return false;
}
if ( keyValue==8 ) {
alert( 'µÚ·Î°¡±â ±â´ÉÀº »ç¿ëÇϽǼö ¾ø½À´Ï´Ù.' );
return false;
}
if ( keyValue==92 ) {
alert( 'Á¤º¸º¸È£·ÎÀÎÇÑ Å°º¸µåÀÇ Á¶ÀÛÀº ºÒ°¡´ÉÇÕ´Ï´Ù.' );
return false;
}
if ( keyValue==93 ) {
alert( 'Á¤º¸º¸È£·ÎÀÎÇÑ Å°º¸µåÀÇ Á¶ÀÛÀº ºÒ°¡´ÉÇÕ´Ï´Ù.' );
return false;
}
if ( keyValue==17 ) {
alert( 'Á¤º¸º¸È£·ÎÀÎÇÑ Å°º¸µåÀÇ Á¶ÀÛÀº ºÒ°¡´ÉÇÕ´Ï´Ù.' );
return false;
}
if ( keyValue==18 ) {
alert( 'Á¤º¸º¸È£·ÎÀÎÇÑ Å°º¸µåÀÇ Á¶ÀÛÀº ºÒ°¡´ÉÇÕ´Ï´Ù.' );
return false;
}
if ( keyValue==116 ) {
alert( 'Á¤º¸º¸È£·ÎÀÎÇÑ Å°º¸µåÀÇ Á¶ÀÛÀº ºÒ°¡´ÉÇÕ´Ï´Ù.' );
return false;
}
if ( keyValue==168 ) {
alert( 'Á¤º¸º¸È£·ÎÀÎÇÑ Å°º¸µåÀÇ Á¶ÀÛÀº ºÒ°¡´ÉÇÕ´Ï´Ù.' );
return false;
}
if (event.ctrlKey == true) {
return false;
}
return true;
}
document.onkeydown= keyDown;
//-->
</script>
ÁÁÀºÇÏ·ç µÇ¼¼¿ä^^;; |
|
̵̧ : 375 |
̵̧
¸ñ·Ï
|
|
|  |
|