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 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
|
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
table {
border: 1px solid #403b33;
border-collapse: collapse;
margin-top:2%;
}
table thead tr th {
border: 1px solid #403b33;
font-weight: normal;
text-align: center;
background-color:#403b33;
color:white;
}
table tbody tr td {
border: 1px solid #403b33;
padding: 3px;
}
.parent {
cursor: pointer;
color: #FF6600;
font-weight:bold;
}
.mois {
cursor: pointer;
font-weight:bold;
}
.child {
color:#403b33;
display: none;
font-weight: normal;
text-align: center;
cursor: default;
}
.hidden {
display: none;
}
.col {
font-weight: bold;
color:#403b33;
}
</style>
<script type="text/javascript" src="../lib/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('tr.parent').click(function(){
$('tr.' + this.id).toggle();
});
$('.mois').click(function(){
if ($('.' + this.id).css("display") == "table-cell"){
$('.' + this.id).css("display","none");
} else {
$('.' + this.id).css("display","table-cell");
}
});
});
</script>
</head>
<body>
<div id="tab">
<table>
<thead>
<th> en % </th>
<th class="hidden 04">01</th>
<th class="hidden 05">27</th>
<th class="hidden 05">28</th>
<th class="hidden 05">29</th>
<th class="hidden 05">31</th>
<th id="05" class="mois">May</th>
<th class="hidden 06">04</th>
<th class="hidden 06">05</th>
<th class="hidden 06">08</th>
<th class="hidden 06">09</th>
<th class="hidden 06">10</th>
<th class="hidden 06">25</th>
<th class="hidden 06">26</th>
<th class="hidden 06">29</th>
<th class="hidden 06">30</th>
<th id="06" class="mois">Jun</th>
<th id="07" class="mois">01</th>
<th class="mois">02</th>
<th class="mois">08</th>
</thead>
<tbody>
<tr id="_SO" class="parent">
<td class="col">_SO</td>
<td class="hidden 04">85.53</td>
<td class="hidden 05">85.51</td>
<td class="hidden 05">85.51</td>
<td class="hidden 05">85.51</td>
<td class="hidden 05">85.52</td>
<td>85.52</td>
<td class="hidden 06">85.52</td>
<td class="hidden 06">85.52</td>
<td class="hidden 06">85.52</td>
<td class="hidden 06">85.52</td>
<td class="hidden 06">85.52</td>
<td class="hidden 06">85.54</td>
<td class="hidden 06">85.54</td>
<td class="hidden 06">85.58</td>
<td class="hidden 06">85.58</td>
<td>85.58</td>
<td >85.58</td>
<td >85.58</td>
<td >85.94</td>
</tr>
<tr id="B2" class="_SO child">
<td class="col"> |- B2</td>
<td class="hidden 04">84.95</td>
<td class="hidden 05">84.94</td>
<td class="hidden 05">84.94</td>
<td class="hidden 05">84.94</td>
<td class="hidden 05">84.94</td>
<td>84.94</td>
<td class="hidden 06">84.94</td>
<td class="hidden 06">84.94</td>
<td class="hidden 06">84.93</td>
<td class="hidden 06">84.93</td>
<td class="hidden 06">84.93</td>
<td class="hidden 06">84.94</td>
<td class="hidden 06">84.94</td>
<td class="hidden 06">84.96</td>
<td class="hidden 06">84.96</td>
<td >84.96</td>
<td >84.96</td>
<td >84.96</td>
<td >85.11</td>
</tr> <!-- était absent -->
</tbody>
</table>
</div>
</body>
</html> |