[英]Using Owl Carousel and Wow.js
mwdigian是對的,我接下來有同樣的問題:
<script>
var $owl = $('.test-carousel');
$owl.owlCarousel();
//here we need hide because method show() doesn't work with css visible
$( ".active .item h2" ).hide();
//all other is the same
$owl.on('translated.owl.carousel',
function( event ) {
$( ".active .item h2" ).addClass( "animated bounceInDown" );
$(".active .item h2").show(); });
</script>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.