MichelM: Suche simples Rollover Menü mit Text / CSS (ohne a:hover!)

Beitrag lesen

hallo,

<a href=# onmouseover="this.style.color='blue'" onmouseout="this.style.color='black'" onclick="window.location.href='neueUrl.html';this.style.color='gold';" onmouseup="this.style.color='black'">ein Test</a>

das kann auch mal probiert werden: onfocus=this.backgroundColor='red';this.border='none';" onblur="this.backgroundColor='wheat';"

für non-Standard-Browser, e.g. NN4, wäre dann
this.fgcolor ,this. bgColor richtig, funktioniert aber nicht immer zuverlässig und ggf. dann nur mit einem Layer.
<ILAYER onmouseover="this.document.alinkColor='blue'" ><A onmouseover="this.fgcolor='blue'" ></A></ILAYER>
<NOLAYER>
linkColor (Standard) ,vlinkColor (besucht) sind auch möglich

<a href=# onmouseover="this.style.color='blue'" onmouseout="this.style.color='black'" onclick="window.location.href='neueUrl.html';this.style.color='gold';" onmouseup="this.style.color='black'">ein Test</a>
</NOLAYER>

Ganz schön aufwendig für einen Link, oder ?

na, dann viel Spass

Michael