달력

32024  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
    <script type="text/javascript">
  <!--
  //Disable right click script
  //visit http://www.rainbow.arch.scriptmania.com/scripts/
  ///////////////////////////////////
  function clickIE() {if (document.all) {return false;}}
  function clickNS(e) {
   if (document.layers||(document.getElementById&&!document.all)) {
    if (e.which==2||e.which==3) {return false;}
   }
  }
  if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
  else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
  document.oncontextmenu=new Function("return false")
  // -->
 </script>

'DHTML > Javascript' 카테고리의 다른 글

NS/FireFox equiv of event.srcElement  (0) 2008.12.07
[링크] 스크립트 주석 표준  (0) 2008.07.29
TextArea 에 숫자만 입력하기  (0) 2007.11.14
JavaScript Throw Statement  (0) 2007.08.21
scriptaculous 응용한 accordion 메뉴...  (0) 2007.06.20
Posted by tornado
|