<input type="text" name="test" style="ime-mode:disabled;">

텍트스 박스에 이렇게 속성을 주면 사용불가


<!--오른쪽버튼금지시작-->
<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==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")
// -->
</script>
<!--오른쪽버튼금지끝-->

또는

<script type="text/javascript" language="JavaScript">
//마우스클릭,키보드 막기
function m_click() {
if ((event.button==2) || (event.button==3) || (event.keyCode == 93)) {
return false;
}
else {
if((event.ctrlKey) || (event.shiftKey)) {
return false;
}
}
}
function keypressed() {
event.keyCode = 0;
event.cancelBubble = true;
event.returnValue = false;
}
document.onmousedown=m_click;
document.onkeydown=keypressed;
</script>

Posted by 퓨전마법사
,