I've created a simple table with one column containing images.
Clicking on img shows the corresponding hidden This seems to work fine.
$("img").click(function(){
var id = $(this).closest('tr').attr('id');
$('#' + id + '-st').show(2000);
});
A JFiddle is available here: http://jsfiddle.net/acmda905/
What I'm trying to do is :
Make the open slower and sort of slide down neater.
Can anyone help with this ?
Thanks
You can't use animations on table rows. Only show and hide is supported. You can however use a div in the table cells that's hidden and let that slide down.
I used your fiddle to show you an example with one row
http://jsfiddle.net/acmda905/1/
The row in your example will look something like this: