当我激活猫头鹰旋转木马然后显示水平滚动条

时间:2015-08-15 19:35:43

标签: jquery html css owl-carousel

当我激活猫头鹰旋转木马然后显示水平滚动条。现在我该怎么做。

HTML

        <div class="col-md-6">          
            <div class="testimonial">            
                <div class="single_testimonial">                        
                    <img src="img/client.jpg" alt=""/>
                    <p>Bootstrap requires a containing element to wrap site contents and house our grid system. You may choose one of two containers to use in a containing element to wrap site contents and house our grid system. You may choose one of two containers to use in your projects.</p>
                    <p class="client_name">Shiddikur Rahman</p>                         
                </div>                  
                <div class="single_testimonial">                        
                    <img src="img/client.jpg" alt=""/>
                    <p>Bootstrap requires a containing element to wrap site contents and house our grid system. You may choose one of two containers to use in a containing element to wrap site contents and house our grid system. You may choose one of two containers to use in your projects.</p>
                    <p class="client_name">Shiddikur Rahman</p>                         
                </div>                  
                <div class="single_testimonial">                        
                    <img src="img/client.jpg" alt=""/>
                    <p>Bootstrap requires a containing element to wrap site contents and house our grid system. You may choose one of two containers to use in a containing element to wrap site contents and house our grid system. You may choose one of two containers to use in your projects.</p>
                    <p class="client_name">Shiddikur Rahman</p>                         
                </div>                    
            </div>
        </div>  

的JavaScript

$(document).ready(function ($) {
   $(".testimonial").owlCarousel({
        singleItem:true,
        pagination : true,
        theme : "owl-theme",
    });

});

0 个答案:

没有答案