kuck mal hier
http://www.dynamicdrive.com/dynamicindex11/highlighttable.htm
onmouseover efect bei table elementen, klappt aber nur beim ie
oder vieleicht weiß ja jemand wie man das script abstimmen kann wenn möglich
<HTML>
<HEAD>
<TITLE>Title of your page</TITLE>
<META NAME="generator" CONTENT="ToniArts EasyHtml v.2.2">
<script language="JavaScript1.2">
function changeto(highlightcolor)
{
source=event.srcElement
if (source.tagName=="TR"||source.tagName=="TABLE")
return
while(source.tagName!="TD")
source=source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}
function changeback(originalcolor)
{
if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")
return
if (event.toElement!=source)
source.style.backgroundColor=originalcolor
}
</script>
</HEAD>
<BODY bgcolor=lightgreen>
<center>
<pre>
</pre>
<table onmouseover="changeto('green')" onmouseout="changeback('lightgreen')" border=1 bordercolor=gold width=300 height=100>
<tr><td id="ignore" bgcolor=blue><b>Menü</b></td></tr>
<tr><td><b>Text/Link</b></td></tr>
<tr><td><b>Text/Link</b></td></tr>
</table>
</center>
</BODY>
</HTML>