ȸ¿ø°¡ÀԡžÆÀ̵ð/ºñ¹øã±â
ȨÀ¸·Î

[Jquery] jQuery·Î ¿ìŬ¸¯ ¹æÁö, µå·¡±× ¹æÁö, ¼±Åà ¹æÁö (IE10, ÆÄÀ̾îÆø½º, Å©·Ò È®ÀÎ)
4³â Àü
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script src="http://code.jquery.com/jquery-1.11.0.js"></script>
<script type="text/javascript">

$(document).ready(function(){

//¿ìŬ¸¯ ¹æÁö
/*
$(document).on("contextmenu",function(e){
console.log("c"+e);
return false;
});

//µå·¡±× ¹æÁö
$(document).on("dragstart",function(e){
console.log("d"+e);
return false;
});

//¼±Åà ¹æÁö
$(document).on("selectstart",function(e){
console.log("s"+e);
return false;
});
*/

//´ÙÀ½°ú °°ÀÌ À̺¥Æ®¸¦ Çѹø¿¡ µî·Ï°¡´É
$(document).on("contextmenu dragstart selectstart",function(e){
return false;
});
//Âü°í. IE¿¡¼­´Â ÅؽºÆ®ÄÁÆ®·Ñ¹Ú½ºÀÇ ³»¿ëÀ» µå·¡±×Çؼ­ ¼±ÅÃÇÒ¼ö¾ø¾úÀ½
// ¶ÇÇÑ ÆÄÀ̾îÆø½º¿¡¼­´Â selectstart ½Ã À̺¥Æ®°¡ ¹ß»ýµÇÁö ¾Ê¾ÒÀ½.


//disableSelection($("body")[0])
});

//¼±Åà ¹æÁö. (ÆÄÀ̾îÆø½ºµµ Àû¿ëµÊ)
function disableSelection(target)
{
//For IE This code will work
if (typeof target.onselectstart!="undefined")
target.onselectstart=function(){return false}

//For Firefox This code will work
else if (typeof target.style.MozUserSelect!="undefined")
target.style.MozUserSelect="none"

//All other (ie: Opera) This code will work
else
target.onmousedown=function(){return false}
target.style.cursor = "default";
}
</script>
</head>
<body>
<input type="text"/><br>
¸¶¿ì½º ¿ìŬ¸¯, µå·¡±×, ¼±Åà ¹æÁö Å×½ºÆ®
</body>
</html>
ÃßõÃßõ : 144 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
396
Chrome NET::ERR CERT REVOKED ÇØ°á¹æ¹ý
395
±¸±Û °Ë»öÀ» 200% È°¿ëÇÏ°Ô ÇØÁÖ´Â °Ë»ö ¸í·É¾î ÃÑÁ¤¸®
[Jquery] jQuery·Î ¿ìŬ¸¯ ¹æÁö, µå·¡±× ¹æÁö, ¼±Åà ¹æÁö (IE10, ÆÄÀ̾îÆø½º, Å©·Ò È®ÀÎ)
393
php »ç¿ëÀÚ Á¢¼ÓIP, ºê¶ó¿ìÀúÁ¤º¸, osÁ¤º¸, http, https Á¢¼ÓÇÁ·ÎÅäÄÝ ¾Ë¾Æ¿À±â
392
[PHP] IE ºê¶ó¿ìÀú Á¢¼Ó °ËÃâÇϱâ
391
meta ÅÂ±× http-equiv ¼³Á¤¹æ¹ý°ú Â÷ÀÌÁ¡
390
±¸±Û(Google)°Ë»ö¿¡¼­ °í±Þ¿¬»êÀÚ¸¦ ÀÌ¿ëÇÏ¿© ¸¹Àº Á¤º¸¸¦ ¾ò´Â ¹æ¹ý
389
¸ð¹ÙÀÏ ½º¸¶Æ®Æù Ư¼ö¹®ÀÚ ¸ðÀ½
388
Ư¼ö¹®ÀÚ, Ư¼ö¹®ÀÚÇ¥, Ư¼ö¹®ÀÚ ÇÏÆ®, ¿¹»Û Ư¼ö¹®ÀÚ
387
[¾Èµå·ÎÀ̵å]ÆÄÀÏ ¿¬°á - Intent setDataAndType(Uri , MimeType)
386
±¸±Û °Ë»ö ÆÁ (±¸±Û¸µ, ±¸±Û °Ë»ö¹æ¹ý)
385
ÆäÀ̽ººÏ µ¿¿µ»ó°ú À¯Æ©ºê µ¿¿µ»ó ´Ù¿î¹Þ´Â ¹æ¹ý
384
¾µ¸¸ÇÑ jquery Ç÷¯±×ÀÎ
383
½ºÅ¸ÀϽÃÆ®(css)¿¡¼­ A:link, A:visited, A:active, A:hover ¼³¸í
382
META TagÀÇ Á¾·ù¿Í »ç¿ë¹æ¹ý
381
ȨÆäÀÌÁö ·Îº¿ ¼³Á¤ ¹æ¹ý
380
·¹ÀÌ¾î »ó´Ü ¹«Á¶°Ç°íÁ¤
379
[jquery] alert¹Ú½º ¸»°í ·¹ÀÌ¾î ¹Ú½º¸¦ ¶ç¿öº¸¼¼¿ä
378
Internet Explorer ȣȯ¼º ·»´õ¸µ ¸ðµå·Î º¸±â
377
div ·¹À̾ƿô Àâ±â!
376
À¥Ç¥ÁØÀ» À§ÇÑ <iframe></iframe>
375
[CSS/À¥Ç¥ÁØ] DOCTYPE ¼±¾ð
374
CSS Àý´ë À§Ä¡¸¦ »ç¿ëÇÑ ÇÁ·¹ÀÓ È¿°ú
373
Recommended Doctype Declarations to use in your Web document
372
DTD(Document Type Definition) ¶õ?
371
Flash Action script
370
ÀÎÅͳÝÀͽºÇ÷η¯ ¼¼¼Ç Áߺ¹ »ç¿ëÇϱâ
369
ÀÎÅÍ³Ý ÀͽºÇ÷η¯ ¸í·ÉÇà ¿É¼Ç 1
368
xml¹®¼­¸¦ Ç÷¡½Ã·Î ºÒ·¯¿À±â
367
ŸÀÎÀÇ ÀÎÅÍ³Ý »ç¿ë ¸·±â!
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æħ
Copyright ¨Ï musictrot All rights reserved.