Today is Labor Day in the United States and as a result, many of us have the day off in honor of the working man.

So, if you have the day off - hooray! If not, well, sucks to be you. In either case, please consider the amount of work done by the below JavaScript that Andrew T. sent our way. I hope that if the developer does not have the day off he or she takes the time to work on a better solution.

function triggerAnimation(){
  $("#logoareacontainer").delay(12000).fadeOut(2000, function() {
    $("#title-1").fadeIn(0).delay(0, function() {
      $("#cdsl-1-1").fadeIn(1000).delay(2000).fadeOut(0, function(){
        $("#cdsl-1-2").fadeIn(0).delay(2000).fadeOut(0, function(){
          $("#cdsl-1-3").fadeIn(0).delay(2000).fadeOut(0, function(){
            $("#cdsl-1-4").fadeIn(0).delay(2000).fadeOut(0, function(){
              $("#title-1").fadeOut(0).css({display:'none'})
              $("#title-2").fadeIn(0).delay(0, function() {
                $("#cdsl-2-1").fadeIn(0).delay(2000).fadeOut(0, function(){
                  $("#cdsl-2-2").fadeIn(0).delay(2000).fadeOut(1000, function(){
                    $("#title-2").fadeOut(1000).css({display:'none'})
                    $("#title-3").fadeIn(0).delay(2000, function() {
                      $("#cdsl-3-1").fadeIn(1000).delay(2000).fadeOut(1000, function(){
                        $("#cdsl-3-2").fadeIn(1000).delay(2000).fadeOut(1000, function(){
                          $("#title-3").fadeOut(1000).css({display:'none'})
                          $("#title-4").fadeIn(0).delay(0, function() {
                            $("#title-4-1").fadeIn(1);
                            $("#cdsl-4-1").fadeIn(1000).delay(2000).fadeOut(1000, function(){
                              $("#cdsl-4-2").fadeIn(1000).delay(2000).fadeOut(1000, function(){
                                $("#title-4").fadeOut(1000).css({display:'none'})
                                $("#title-4-1").fadeOut(1000).css({display:'none'})
                                $("#title-5").fadeIn(0).delay(0, function() {
                                  $("#title-5-1").fadeIn(1);
                                  $("#cdsl-5-1").fadeIn(1000).delay(2000).fadeOut(1000, function(){
                                    $("#title-5").fadeOut(1000).css({display:'none'})
                                    $("#title-5-1").fadeOut(100).css({display:'none'})
                                    $("#title-6").fadeIn(0).delay(0, function() {
                                      $("#cdsl-6-1").fadeIn(1000).delay(2000).fadeOut(1000, function(){
                                        $("#title-6").fadeOut(1000).css({display:'none'})
                                        $("#logoareacontainer").fadeIn(1000).css({display:'block'})
                                      })
                                    })
                                  })
                                })
                              })
                            })
                          })
                        })
                      })
                    })
                  })
                })
              })
            })
          })
        })
      })
    })
  })
}
[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!