Why isn't this animation from display none to block working properly?
The initial code appears as follows, and it functions correctly:
$(".box_outer").stop().animate({top: '25px' , opacity: 1}, 100);
When I add display: none;
to the class box_outer
and then include display: 'block'
My animated function fails to work properly, how can I fix that issue?
$(".box_outer").stop().animate({top: '25px', display: 'block', opacity: 1}, 100);