codice:
<script type="text/javascript">
	startMenu = function() {
		if (document.all&&document.getElementById) {
			cssmenu = document.getElementById("csstopmenu");
			for (i=0; i<cssmenu.childNodes.length; i++) {
				node = cssmenu.childNodes[i];
				if (node.nodeName=="LI") {
					node.onmouseover=function() {
						this.className+=" over";
					}
					node.onmouseout=function(){                  
						this.className=this.className.replace(" over", "")
					}
				}
			}
		}
	}
	if (window.attachEvent)
		window.attachEvent("onload", startMenu)
	else
		window.onload=startMenu;
</script>
dunque.. ho questo codice, mi serve per ottenere dei menu dropdown in css (per la compatibilità con internet explorer), ho provato a validarlo con w3c solo che mi da una marea di errori...

http://validator.w3.org/check?uri=ht...ww.itera.it%2F

ah c'è anche un errore su un div che contiene un href... in realtà dovrebbe essere un link semplicemente oscurato, ovvero non cliccabile... ma che sarà attivabile semplicemente cambiando il div in a quando sarà presente quella pagina. se avete metodi migliori ogni consiglio è ben accetto


grazie 1000