timbo1992
Goto Top

OnMouseOver Befehl bei einem Text ?

Ich brauche ein OnMouseOver Befehl und ich hoffe Ihr könnt mir helfen?

Guten Tag alle zusammen

Ich suche ein OnMouseOver Befehl für meine Webseite.
Ich möchte, dass sich beim drüberfahren eines Textes z.B. "Home" die Schrift heller wird.

Ich hatte da was ähnliches gefunden nur der OnMouseOver Befehl ist auf ein Bild bezogen:
<img src="up.gif" border=0 style="-moz-opacity:0.5;filter:alpha(opacity=50);cursor:hand;" onmouseover="this.style.MozOpacity=1;this.filters.alpha.opacity='100'" onmouseout="this.style.MozOpacity=0.5;this.filters.alpha.opacity='50'">   

Würde mich freuen wenn irgendwer mir weiter helfen kann Danke.

Content-Key: 143330

Url: https://administrator.de/contentid/143330

Printed on: April 19, 2024 at 07:04 o'clock

Member: dog
dog May 21, 2010 at 14:44:45 (UTC)
Goto Top
<style type="text/css">  
#text {
  color: black;
}

.light:hover {
 color: grey;
}
</style>

<div id="text">Das ist ein <span class="light">Text</span></div>  
Member: timbo1992
timbo1992 May 25, 2010 at 14:27:32 (UTC)
Goto Top
Perfekt Danke für die Hilfe