Hallo phillip.
<input name="login" type="text" class="login" onfocus="style.background-image:url(img/username.png);" onblur="style.background-image:url(img/username2.png);">
hmm wieso geht das nicht? :(
Weil du dich nicht an die Konventionen gehalten hast, die bei der Überführung von CSS-Eigenschaften zu JS-Eigenschaften eingehalten werden müssen.
Einen schönen Dienstag 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]
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]