HI,
Mozilla <> IE !
das habe ich festgestellt. ;O)
Zu meinen Problem:
Ich möchte die Klicks auf ein Div zählen und das ganze ohne onClick=""
Ist das überhaupt machbar?
<script langauge=javascript>
<!--
function e(){
if (event.type == "click"){
alert("klick und counter!");
}
}
//-->
</script>
<body>
<div id=werb style="position:absolute; top:40; left:40; background-color:blue; color:white;">
click here
</div>
<script>
document.all["werb"].onclick = e;
</script>
</body>
Ich Danke Euch
Simone