Hallo Jens,
habe mal etwas probiert (So habe ich jedenfalls dein Thema verstanden).
Macht farbige Zellen (auch wechselnde Farben) in einem DIV.
Wenn es das nicht war - o.k. habe ich geübt ;-).
Gruß
Harald Legler
<html>
<head>
<meta name="generator" content="Ulli Meybohms HTML EDITOR">
<title>Jens Menke</title>
</head>
<script language="JavaScript">
function showLayer(x){
if (document.layers)
document.layers[x].visibility="show";
else
document.all[x].style.visibility="visible";
}
function hideLayer(x){
if (document.layers)
document.layers[x].visibility="hide";
else
document.all[x].style.visibility="hidden";
}
function changeColor1(x){
if (document.layers)
document.layers[x].bgColor="green";
else
document.all[x].style.background="green";}
function changeColor2(x){
if (document.layers)
document.layers[x].bgColor="blue";
else
document.all[x].style.background="blue";}
</script>
<body vlink="#FFFFFF" alink="#FFFFFF" link="#FFFFFF" >
<h1>layer füllt Zelle komplett</h1>
<form name="meinFormular">
<br>
<input type="button" name="Knopf3" value="Info" onClick="showLayer('ebene1')">
<input type="button" name="Knopf4" value="Info löschen" onClick="hideLayer('ebene1')">
</form>
<br>
<table border="1" width="100%"><tr><td>
<div id="ebene1" style="position:relative; background-color:blue; visibility:hidden">
<table border="0" width="100%"><tr><td><h5><font color="#FFFFFF"><a href="#bleibda" onmouseover="changeColor1('ebene1')" onmouseout="changeColor2('ebene1')">Dies ist ein Test! </a></font></h5></td></tr></table>
</div>
</td><td><h2>Dies ist auch ein Test;</h2></td></tr></table>
</body>
</html>