hallo an alle,
ich habe folgenden code
HTML-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<script type="text/javascript">
<!--
function changeColor(color) {
if (document.all)
document.all.Tabelle.style.backgroundColor = color;
else if (document.documentElement)
document.getElementById("Tabelle").style.backgroundColor = color;
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
</head>
<body>
<table width="100" height="100">
<tr><td id="Tabelle"></a></td>
</tr></table>
<br />
<br />
<a href="javascript:changeColor('#C4D3F6'),swap()">Textlink</a>
<a href="javascript:changeColor('#cc0033'),swap()">Textlink</a>
<a href="javascript:changeColor('#cccc00'),swap()">Textlink</a>
<a href="javascript:changeColor('#00cc33'),swap()">Textlink</a>
</body>
</html>
dort kann ich die hintergrundfarbe per link ändern. wie kann ich die auswahl per pulldown realisieren ???