2
I have a table, I want when loading the page to have its hidden content, and when clicking on the title (in the example below awaiting) then load the content, and again by clicking on the title the content is collected and is hidden.
How can I do?
<div class="table-aguardo">
<div class="header" style="background-color: green;">Aguardando</div>
<table cellspacing="0">
<tr>
<th>Leito</th>
<th>Acomodação</th>
<th>Tempo</th>
<th>Tipo</th>
<th width="230">Comentário</th>
</tr>
<tr>
<td style=" font-size: 3em;">321</td>
<td>Apartamento</td>
<td>10:01</td>
<td>Clínico</td>
<td>TESTE</td>
</tr>
<tr>
<td style=" font-size: 3em;">412</td>
<td>Apartamento</td>
<td>10:01</td>
<td>Clínico</td>
<td>TESTE</td>
</tr>
<tr>
<td style=" font-size: 3em;">110</td>
<td>Enfermaria</td>
<td>10:01</td>
<td>Cirurgico</td>
<td>TESTE</td>
</tr>
<tr>
<td style=" font-size: 3em;">215</td>
<td>Isolamento</td>
<td>10:01</td>
<td>Cirurgico</td>
<td>TESTE</td>
</tr>
</table>
</div>
You could put a
mãozinha
when placing the mouse on top of theaguardando
to make it intuitive?– user60252
The one from
mãozinha
added :D– Sam
huahuahuah, put my little hand on +1
– user60252
Ah... thanks for the hand
– Sam