Ashura: iframe problem

Beitrag lesen

Hallo FireGlow.

Für den IE muss man den event-Befehl in den Body-Tag schreiben.

<body onmouseover='...'>

Oder document.body.[link:http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/attachevent.asp@title=attachEvent]('mouseover', function(){});

für den Moz dagegen muss man einen EventListener hinzufügen:

document.addEventListener("onmouseover", functionX, true);

Eigentlich document.body.addEventListener, macht aber hier wohl keinen Unterschied.

dieser klappt aber logischerweise (!!!!!!) nicht im IE....

Wie wäre es auch einfach mit document.body.onmouseover = function() {};?

Einen schönen Mittwoch noch.

Gruß, Ashura

--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]