I need to fade in initially hidden divs which are hidden with display:none. When they are faded in, I need the display to be “inline-block” not “block” so they can display inline with each other rather than drop below each other. Is this possible?
.sectionBlock{
width:163px;
height: 261px;
padding:5px 5px;
position: relative;
/*display: inline-block;*/
display: none;
overflow: hidden;
margin: 0 6px 11px 6px;
}
.
...
$('.sectionBlock').fadeIn('slow');
...
I went for a different way of thinking about this. I am now outputting all the sectionBlocks into a hidden div and appending them to the container and fading the container in. Works perfectly.
I am cloning them because I am paging them and need to reuse them after emptying the container. If anyone is interested, here is my full code. Far from optimal right now but it does the trick: