Einzelnen Beitrag anzeigen
Alt 07.10.2003, 21:20   #2
jonix
Veteran
 
Registriert seit: 03.08.2000
Alter: 47
Beiträge: 461


Standard

loesung: javascript.
Code:
<SCRIPT language="javascript">
/**
 * @param   textfarbe
 * @param   hintergrundfarbe
 * @param   cursor-style
**/ 
function aendereFarbe(obj, textfarbe, hintergrund, cursor)
{
  if (!(document.layers && !document.getElementById))
  {
    if (obj.children)
      obj.children[0].style.color = textfarbe;
    if (colorBg != '')
      obj.style.backgroundColor = hintergrund;
    if (cursor != '')
      obj.style.cursor = cursor;
  }
}
</SCRIPT>

...
<TR onMouseOver="aendereFarbe(this,'','#E4EEE5','');" onMouseOut="aendereFarbe(this,'','#D3DED4','');">
...
____________________________________
hampel.at
jonix ist offline   Mit Zitat antworten