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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
| <!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans titre</title>
</head>
<style type="text/css">
.cache { visibility:hidden; height:0px;}
#huh tr {cursor :pointer; }
#huh tr:hover{ cursor :pointer;background:#00FF66;}
.style_line
{
background:#ccc;
}
.style_over
{
cursor :pointer;
background:#00FF66;
}
</style>
<body>
<script language="javascript" type="text/javascript">
function Afficher(objet)
{
obj=document.getElementById(objet);
if (obj.className=='cache')
obj.className='huhu';
else
obj.className='cache';
}
function Show(un)
{
thing=document.getElementById(un);
if(thing.className=='style_line')
thing.className='style_over';
else
thing.className='style_line';
}
</script>
<div id="huh">
<table style="border:1px red solid; width:100%;">
<tr >
<th style="border:1px red solid;" >Nom</th>
<th style="border:1px red solid;">prenom</th>
<th style="border:1px red solid;">Tel</th>
</tr>
<tr id="huh1" onclick="Afficher('info_supp1');" class='style_line' onmouseover="Show('huh1');" onmouseout="Show('huh1');">
<td >Someone</td>
<td >yeah</td>
<td >0336559174</td>
</tr>
<tr height="0px">
<td colspan="3">
<iframe id="info_supp1" class="cache" src="width__.php" width="100%">
dsfsdfsdf
</iframe>
</td>
</tr>
<tr id="huh2" onclick="Afficher('info_supp2');" class='style_line' onmouseover="Show('huh2');" onmouseout="Show('huh2');" >
<td >Someone</td>
<td >yeah</td>
<td >0336559174</td>
</tr>
<tr height="0px">
<td colspan="3">
<iframe id="info_supp2" class="cache" src="round.html" width="100%">
Anyone dadada....
</iframe>
</td>
</tr>
</table>
</div>
<iframe id="test" class="cache" src="" width="100%">
dsfsdfsdf
</iframe>
</body>
</html> |
Partager