5
I have this code and I wanted to order the animations so that the header
only begins after the .logo_1
end. I tried to use Duration but it didn’t work out very well, there is some other way for me to sort the animations?
$(document).ready(function(e) {
$('.mini_botao').click(function(){
$(".logo_1").animate({marginTop: '-150px'}, 1000);
$("header").animate({marginTop: '0'}, 3000);
});
});
You want to start one animation only after the other one finishes, that’s it?
– bfavaretto
Correct @bfavaretto
– Josimara