2016-06-29 2 views
0

Я пытаюсь реализовать bxslider на боковой панели сайта, но по какой-то причине работает только при установке режима «вертикально», когда я устанавливаю режим «горизонтальный», », который должен быть по умолчанию, или ничего не использовать для режима, переходы слайдера не работают. Я пытаюсь выполнить слайдер, показывающий 1 слайд за раз и автоматически переходя к следующему слайду, но даже при работе с вертикальной прокруткой мне все же приходится вручную ударять пейджер, чтобы перейти к следующему слайду. Я очень обеспокоен этой проблемой.bxslider работает только по вертикальной прокрутке, а не по горизонтали

<ul class="bxslider"> 
    <li> 
     <div> 
      <img class="img-responsive" src="/wp-content/themes/axon-responsive/images/slide1.png" /> 
      <br> 
      <quote>“Axon Radiology was reliable and timely with great response on any questions or issues.”</quote> 
      <hr> 
      <p>Brandon Selle</p> 
      <span>Northeast Missouri Imaging Associates</span> 
     </div> 
    </li> 
    <li> 
     <div> 
      <img class="img-responsive" src="/wp-content/themes/axon-responsive/images/slide2.png" /> 
      <quote>“We changed radiology groups due to inaccurate reads from our previous vendor. We are extremely happy with Axon Radiology and the quality of service they are providing for our company. I believe Axon Radiology takes pride in the performance of their radiologists. We get speedy turnaround and excellent reporting from this company.” 
       </p> 
       <hr> 
       <p>Theresa Summers</p> 
       <span>Georgia Emergency Associates</span> 
     </div> 
    </li> 
    <li> 
     <div> 
      <img class="img-responsive" src="/wp-content/themes/axon-responsive/images/slide3.png" /> 
      <quote>“Our prior teleradiology services had long wait times for the reports, even after calling and stating the patient was a priority patient. For one service the reports were not accurate in addition to the extended wait time. Axon Radiology is dependable, accurate and provides fast report turnaround times. We are very pleased with the services provided and are happy to recommend you to others."</quote> 
      <hr> 
      <p>Tammy Cullen</p> 
      <span>Cypress Creek ER</span> 
     </div> 
    </li> 
    <li> 
     <div> 
      <img class="img-responsive" src="/wp-content/themes/axon-responsive/images/slide4.png" /> 
      <quote>“Excellent service with results we can trust.”</quote> 
      <hr> 
      <p>Yadira Sanchez</p> 
      <span>Saddleback Family & Urgent Care Medical Group</span> 
     </div> 
    </li> 
    <li> 
     <div> 
      <img class="img-responsive" src="/wp-content/themes/axon-responsive/images/slide2.png" /> 
      <quote>“Axon helps us achieve this goal by providing over reads in as little as 20 minutes. Our previous provider was unable to do this. We are very happy with the service provided by Axon Radiology. It is easy and the staff are very helpful and easy to work with. Every time that I have reached out for help or more information about an interface, etc. I have received support and guidance. I appreciate the effort Axon puts into helping their customers grow.”</quote> 
      <hr> 
      <p>Lisa Horton</p> 
      <span>Georgia Emergency Associates</span> 
     </div> 
    </li> 
</ul> 

Мой JQuery

jQuery(function ($) { 
$(document).ready(function(){ 
    $('.bxslider').bxSlider({ 
     mode: 'horizontal', 
     slideWidth: 240, 
     minSlides: 1, 
     slideMargin: 10, 
     controls: 'false', 
     pager: 'true', 
     moveSlides: '1', 
     autoStart: 'true', 
     auto: true; 
}); 
}); 
}); 

ответ

0

я был в состоянии исправить это. Это была ошибка css, когда я давал bxslider максимальную ширину.

Смежные вопросы