Hoffe das wird jetzt nicht zu kompliziert für mich...
Wie erstell ich den so einen Java-Link, der dann unterstrichen wird und ne andere Farbe bekommt, wenn ich über ihn drüber fahre.
Und wie ich euch kenne, kann mir das bestimmt wieder jemand beantworten. *wart*
Java-Link
Morgen,
einen Link mit Java-Skript formatieren machtst du mit
onMouseOver bzw. onMouseOut und this.style
Ein Beispiel:
Gruß
Xmopf
einen Link mit Java-Skript formatieren machtst du mit
onMouseOver bzw. onMouseOut und this.style
Ein Beispiel:
Code: Alles auswählen
<a href="test.html" onMouseOver="this.style.color='#00ff00'; this.style.textDecoration='none'; this.style.fontWeight='bold';" onMouseOut="this.style.color='#0000ff'; this.style.textDecoration='underline'; this.style.fontWeight='normal';">Test</a>
Xmopf
Oder besser hier:
http://selfhtml.teamone.de/css/eigensch ... tive_focus
http://selfhtml.teamone.de/css/eigensch ... tive_focus