I have a bunch of thumbnails which I am loading with a style of visibility: hidden;
so that they all maintain their correct layouts. Once the page is fully loaded I have a jquery function that fades them in. This worked when their style was set to display: none;
but obviously the layout screwed up then. Any suggestions?
Heres the fade line:
$('.littleme').fadeIn('slow');
Add a few calls to the chain like this:
$('.littleme').css('visibility','visible').hide().fadeIn('slow');
This will change it to display:none
for 1 frame before fading in, occupying the area again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With