| |
| Se volete disabilitare il tasto destro ecco il codice da inserire: CODICE <!-- Prelevato nel Forum di Supporto di ForumFree.net e ForumCommunity.net --> <script type="text/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> Se volete ke quando si clikka con il tasto destro compare 1 messaggio: CODICE <script type="text/javascript"> function right(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false; else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {alert("messaggio - messaggio - messaggio"); return false;} return true; } document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); window.onmousedown=right;// end --></script> "What if I'm not the Superhero? What if I'm the bad guy"? "Non so come spiegarlo... ma dietro la facciata è ancora più incredibile". Il vampiro che voleva essere buono, che andava in giro a salvare la vita delle persone per non sentirsi un mostro... |
| | |