Head에 넣으면 됨
<script language="JavaScript">
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==1||e.which==2||e.which==3) {(message);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")
function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
'WEB > HTML/Css/Script' 카테고리의 다른 글
| 부드러운 이미지 전환 효과 (0) | 2007/06/29 |
|---|---|
| 이미지/자바스크립트를 이용한 메뉴 구현 (0) | 2007/06/29 |
| 드래그와 마우스 오른쪽버튼 사용못하게 (0) | 2007/06/29 |
| 부드러운 서브 메뉴(관리화면 구성에 좋을듯) (0) | 2007/06/29 |
| 깔끔한 자바스크립트 탭메뉴 (3) | 2007/06/29 |
| 다양한 효과의 풍선 도움말 (0) | 2007/06/25 |




최근에 달린 댓글
링크
최근에 받은 트랙백
태그목록