Is it possible to slide up/down 'in animated manner' either full table row or all cells within it, similar as it happens while using div? Since as I checked, its just displaying/hiding but without any animation.
HTML:
<table>
<tbody>
<tr id="target">
<td>User</td>
<td>will</td>
<td>click</td>
<td>me</td>
</tr>
<tr id="subject">
<td>And</td>
<td>I</td>
<td>should</td>
<td>expand</td>
</tr>
</tbody>
CSS:
* { margin: 0; padding: 0; }
table { margin: 0 auto; }
table tr { background: #d4d4d4; }
table tr > td { width: 80px; }
jQuery:
<script src="jquery.js"></script>
<script>$(document).ready(function(){
$('#subject').hide();
$('#target').click(function() {
$('#subject').slideToggle();
});
});
</script>