Quote:
Originally Posted by bashy
Sounds like a bit of work involved then 
Thought it might have just been 1 edit, although....
My forum is situated inside my portal, so in effect couldnt i just do this to the portal and the others would be effected because of this?
|
For just one (1) edit you might add a script like the one I've included to your "headinclude".
Code:
<script language=JavaScript>
<!--
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="WARNING! No portion of this website may be reproduced, copied, or transmitted in any form or by any means, except as a normal browser download without prior written permission from the publisher, except for usage allowed by the Fair Use provisions of the Digital Millennium Copyright Act.\n\nCopyright ? Your Name. All rights reserved.";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("alert(message);return false")
// -->
</script>
Of course, someone who really wants your code can get around a javascript but for the average Joe this should work just fine.