Ciao avevo visto un pò di esempi su come catturare il click del tasto destro e stavo provando a far partire una funzione che dovrebbe visualizzare un div nascosto.
per ora sto facendo una prova a visualizzare del testo ma firefox va in clessidra per non so quanto tempo visti che passati 5 minuti di orologio ho chiuso.
questo è il codice:

codice:
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<title></title>

		<style>
			A:link, A:visited { text-decoration: none }
			A:hover { text-decoration: underline }
		</style>
		<link href="mymenu.css" type="text/css" REL="stylesheet">
		<script type="text/javascript" src="tastoDX.js"></script>
	</head>	
	<body>
		
		<script>
			
		var message="prova";
		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("document.write(message);return false")

		</script>

	</body>
</html>