michaeldank
9/11/2017 - 12:22 AM

Flickerplate - Additional Animation. This script adds a class of active to the flickerplate li that has an opacity of 1. - you will also nee

Flickerplate - Additional Animation. This script adds a class of active to the flickerplate li that has an opacity of 1. - you will also need CSS

<script>
$(window).bind("load", function(){
  $(".first-flick").addClass("active");
  $(".flickerplate").on("webkitTransitionEnd transitionend", function(e) {
    $(".flickerplate li[style*='opacity: 1;']").addClass("active");
    $(".flickerplate li[style*='opacity: 0;']").removeClass("active");
});
});
</script>