Created
May 11, 2017 10:18
-
-
Save shajal-kumer/10ebb9ca60039165d19366e83713c3da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".homepage-slides").on("translate.owl.carousel", function() { | |
$(".single-slide-item h2").removeClass("animated fadeInLeft").css({"-webkit-animation-delay":".5s", "animation-delay":".5s", "opacity":"0"}); | |
$(".single-slide-item p").removeClass("animated fadeInLeft").css({"-webkit-animation-delay":".8s", "animation-delay":".8s", "opacity": "0"}); | |
$(".single-slide-item .slide-readmore-btn").removeClass("animated fadeInLeft").css({"-webkit-animation-delay":"1.2s","animation-delay":".1.2s", "opacity":"0"}); | |
$(".single-slide-item .slide-img-right").removeClass("animated fadeInRight").css({"-webkit-animation-delay":".2s", "animation-delay":".2s", "opacity":"0"}); | |
}); | |
$(".homepage-slides").on("translated.owl.carousel", function() { | |
$(".single-slide-item h2").addClass("animated fadeInLeft").css({"-webkit-animation-delay":".5s", "animation-delay":".5s", "opacity":"1"}); | |
$(".single-slide-item p").addClass("animated fadeInLeft").css({"-webkit-animation-delay": ".8s", "animation-delay":".8s", "opacity": "1"}); | |
$(".single-slide-item .slide-readmore-btn").addClass("animated fadeInLeft").css({"-webkit-animation-delay":"1.2s", "animation-delay":".1.2s", "opacity":"1"}); | |
$(".single-slide-item .slide-img-right").addClass("animated fadeInRight").css({"-webkit-animation-delay":".2s", "animation-delay":".2s", "opacity":"1"}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment