Simple really but cannot get it to work, here is my script...
$('body').after('<div id="lightBox" style="height: ' + htmlHeight + 'px;"></div>');
How can I get it to fade in rather than just pop up? putting fadeIn()
after or before .after()
doesn't work?
$('body').after('<div id="lightBox" style="height: ' + htmlHeight + 'px; display:none;"></div>');
$('#lightBox').fadeIn();
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