<script>
$(document).ready(function(){
var owl_rolling_rel = $('.owl-carousel_rel').owlCarousel({
items:3,
loop:<?php if($i < 5) echo "false"; else echo "true";?>,
margin:0,
nav:true,
autoplay:true,
autoplayHoverPause:true,
autoplayTimeout:5000, // 5000은 5초
responsive:{
0:{
items:3,
rows:2,
margin:0,
},
}
});
function init_pg(event){
var tg = $('.rolling_box ').find('.owl-item.active').find('.item').attr('data-hash');
$('.rollin_nav_btn').removeClass('active');
$("."+tg).addClass('active');
}
init_pg();
});
</script>
넣었는데 변화가 없어여ㅠㅠ 1줄에 3개는 되는데 2줄이 안되용,,