마우스 오른쪽 매뉴활성화 막는 간단한 방법입니다 > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

마우스 오른쪽 매뉴활성화 막는 간단한 방법입니다 정보

PHP 마우스 오른쪽 매뉴활성화 막는 간단한 방법입니다

본문

<html xmlns="http://www.w3.org/1999/xhtml" >

<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8">

 


    <title>jQuery disable right click easily</title>

    <script language="javascript" type="text/javascript"

      src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">

    </script>

    <script type="text/javascript" language="javascript">

        $(function() {

            $(this).bind("contextmenu", function(e) {

                e.preventDefault();

            });

        });

    </script>

</head>

<body>

    <p>오른쪽 버튼 활성화 못하게 하기</p>

</body>

</html>

추천
0
  • 복사

댓글 0개

© SIRSOFT
현재 페이지 제일 처음으로