PDA

Visualizza versione completa : Come fare???


Ttar
04-07-2002, 15.54.19
qualè l'html x disattivare il tasto destro del mouse???

darkchild
04-07-2002, 21.31.41
<script LANGUAGE="JavaScript1.1">
<!--
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("frase visualizzata ");
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
// End -->
</script>

:)

DavideDave
04-07-2002, 21.39.07
che poi a cosa ti servirebbe?
tutte le volte che ho trovato questo blocco l'ho bypassato senza problemi.... :cool: :evil: :D

Ttar
04-07-2002, 22.10.07
si lo so....xrò me piace :D :p