Quote
<script language='javascript'>
function NSclick(e) {
if (navigator.appName=='Netscape' && parseInt(navigator.appVersion)==4) {
if (e.which == 3) {
return false;
}
}
if (navigator.appName=='Netscape' && parseInt(navigator.appVersion)>=5) {
if (e.button == 2 || e.button == 3) {
e.preventDefault();
return false;
}
}
}
if (navigator.appName=='Netscape' && parseInt(navigator.appVersion)==4) {
document.onmousedown=NSclick;
document.captureEvents(Event.MOUSEDOWN);
}
if (navigator.appName=='Netscape' && parseInt(navigator.appVersion)>=5) {
document.onmouseup=NSclick;
}
if (navigator.appName=='Microsoft Internet Explorer' {
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>
Quote
TammyK wrote:
[...]unless you're doing a pop-up that doesn't show the menu bars.
oncontextmenu='return false'
<body bgcolor='$body_bg' text='$body_text' [color=#ff0000]oncontextmenu='return false'[/color]>\n";
Category Forum
Bugs and Errors - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions