글 수 300
2006.04.17 15:24:30 (*.105.151.226)
22203
<!-- body와 body 사이에 넣는다>
<script language="JavaScript">
<!--
function click() {
if ((event.button==2) || (event.button==3)) {
alert('눌러서 뭐하게?');
}
}
document.onmousedown=click
if (navigator.appName == "Netscape") {
document.captureEvents(Event.MOUSEDOWN)
document.onmousedown = checkClick
function checkClick(ev) {
if (ev.which != 1) {
alert('눌러서 뭐하게?')
return false
}
}
}
// -->
</script>
<script language="JavaScript">
<!--
function click() {
if ((event.button==2) || (event.button==3)) {
alert('눌러서 뭐하게?');
}
}
document.onmousedown=click
if (navigator.appName == "Netscape") {
document.captureEvents(Event.MOUSEDOWN)
document.onmousedown = checkClick
function checkClick(ev) {
if (ev.which != 1) {
alert('눌러서 뭐하게?')
return false
}
}
}
// -->
</script>