Originariamente inviato da herrel
eccomi....
ho scritto un esempiello veloce veloce....
<html>
<head>
<title>Untitled</title>
<style>
#prova {
width:200px;
height:150px;
background:red;
border: 1px solid black;}
.prova2 {
width:100px;
height:80px;
background:blue;
border: 3px solid black;}
</style>
<script language="javascript">
function cambiaskin() {
document.body.style.background = "#98bbf4" ;
document.getElementById("prova").style.background = "#e1f581";
document.getElementById("prova").style.fontFamily = "verdana";
}
function cambiaskin2() {
document.body.style.background = "#f3a5da" ;
document.getElementById("prova").style.background = "#b6f498";
document.getElementById("prova").style.fontFamily = "verdana";
}
</script>
</head>
<body>
<table id="prova" onMouseOver="cambiaskin()" onMouseOut="cambiaskin2()">
<tr>
<td>celle 1</td>
<td></td>
</tr>
<tr>
<td>celle 2</td>
<td></td>
</tr>
</table>
</body>
</html>
spero sia facile da comprendere!!