can anyone give me the code for a no right click option
<param name= ???????>
i believe it goes in the above code - i had the code but seemed to have lost it.
thanks
Printable View
can anyone give me the code for a no right click option
<param name= ???????>
i believe it goes in the above code - i had the code but seemed to have lost it.
thanks
If its JAVASCRIPT to prevent users from right clicking you are after try the following...
<script language=JavaScript>
function clickIE() {
if (document.all) {
return false;
}
}
function clickNS(e) {
if (document.layers||(document.getElementById&&!docum ent.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>
This will also supress an alert to the user.
Cheers...
generate the HTML from SWISH with the menu option turned of (in the Export Panel) and you'll have exactly what you want.Quote:
Originally posted by ela4u
can anyone give me the code for a no right click option
<param name= ???????>
i believe it goes in the above code - i had the code but seemed to have lost it.
thanks
That's better than hand-coding <object> and <param> tags yourself.