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

· 10년 전 · 315

<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>

|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

팁게시판

디자인과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
제목 글쓴이 날짜 조회
10년 전 조회 258
10년 전 조회 279
10년 전 조회 295
10년 전 조회 387
10년 전 조회 283
10년 전 조회 1,053
10년 전 조회 1,167
10년 전 조회 565
10년 전 조회 297
10년 전 조회 349
10년 전 조회 340
10년 전 조회 471
10년 전 조회 316
10년 전 조회 428
10년 전 조회 270
10년 전 조회 254
10년 전 조회 266
10년 전 조회 300
10년 전 조회 277
10년 전 조회 334
10년 전 조회 326
10년 전 조회 304
10년 전 조회 470
10년 전 조회 471
10년 전 조회 246
🐛 버그신고