I am looking to initiate a jQuery animation once another one has completed.
Initially, there is a slide down effect towards the second navigation bar:
$(".navigation-bar1").click(function() {
$('html,body').animate({
scrollTop: $(".navigation-bar2").offset().top
}, 'slow');
});
The second animation toggles a CSS class that opens a navigation bar:
$(".trigger-navbar").click(function() {
$("body").toggleClass("navbar-down");
});