Code: Select all
$("#content").animate({ height: 'hide', width: 'hide' }, 'slow');
$("#content").animate({ height: 'show', width: 'show' }, 'slow');
$("#bottom").css({borderColor: "#cccc00"});
$("#bottom").animate({ borderTopColor: "#101060"}, 'slow');
i'm trying to find out how to queue them so the border color change happens after the content div collapses out and back in. i read that you can queue animations for the same element but im having trouble finding an example of what im trying to do.
if anyone knows anything, i'd appreciate the help. thanks!