1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title>Nouvelle page 1</title>
<script type='text/javascript'>
function setPointer(obj,couleur){
if(obj.flag=='1'){return false;}
obj.style.backgroundColor=couleur
}
function intitr(){
TabTr=document.getElementsByTagName('tr');
for(i=0;TabTr[i];i++){
TabTr[i].flag='0';
}
}
</script>
<style type='text/css'>
td {border: solid 1px black;}
table{width:100%;}
</style>
</head>
<body onload="intitr()">
<table>
<tr align="left" onMouseOver="setPointer(this, '#C8E362')" onMouseOut="setPointer(this, '#FFFFFF')" flag="0" onclick="this.flag=(this.flag=='0')?'1':'0';this.style.backgroundColor=(flag=='1')?'red':'white';">
<td> </td>
</tr>
<tr align="left" onMouseOver="setPointer(this, '#C8E362')" onMouseOut="setPointer(this, '#FFFFFF')" flag="0" onclick="this.flag=(this.flag=='0')?'1':'0';this.style.backgroundColor=(flag=='1')?'red':'white';">
<td> </td>
</tr>
<tr align="left" onMouseOver="setPointer(this, '#C8E362')" onMouseOut="setPointer(this, '#FFFFFF')" flag="0" onclick="this.flag=(this.flag=='0')?'1':'0';this.style.backgroundColor=(flag=='1')?'red':'white';">
<td> </td>
</tr>
<tr align="left" onMouseOver="setPointer(this, '#C8E362')" onMouseOut="setPointer(this, '#FFFFFF')" flag="0" onclick="this.flag=(this.flag=='0')?'1':'0';this.style.backgroundColor=(flag=='1')?'red':'white';">
<td> </td>
</tr>
<tr align="left" onMouseOver="setPointer(this, '#C8E362')" onMouseOut="setPointer(this, '#FFFFFF')" flag="0" onclick="this.flag=(this.flag=='0')?'1':'0';this.style.backgroundColor=(flag=='1')?'red':'white';">
<td> </td>
</tr>
<tr align="left" onMouseOver="setPointer(this, '#C8E362')" onMouseOut="setPointer(this, '#FFFFFF')" flag="0" onclick="this.flag=(this.flag=='0')?'1':'0';this.style.backgroundColor=(flag=='1')?'red':'white';">
<td> </td>
</tr>
</table>
</body> |
Partager