Advertisement
valdeir2000

StackOVerflow 267924

Jan 9th, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.02 KB | None | 0 0
  1.             var theme_slider = $("#owl-demo");
  2.             $("#owl-demo").owlCarousel({
  3.                 navigation: false,
  4.                 slideSpeed: 300,
  5.                 paginationSpeed: 400,
  6.                 autoPlay: 6000,
  7.                 addClassActive: true,
  8.              // transitionStyle: "fade",
  9.                 singleItem: true
  10.             });
  11.             $("#owl-demo2").owlCarousel({
  12.                 slideSpeed: 300,
  13.                 autoPlay: true,
  14.                 navigation: true,
  15.                 navigationText: ["&#xf007","&#xf006"],
  16.                pagination: false,
  17.                singleItem: true
  18.            });
  19.                 $(function(){
  20.                   $(".owl-carousel").owlCarousel({autoplay: true});
  21.                 })
  22.        
  23.             // Custom Navigation Events
  24.             $(".next-arrow").click(function() {
  25.                 theme_slider.trigger('owl.next');
  26.             })
  27.             $(".prev-arrow").click(function() {
  28.                 theme_slider.trigger('owl.prev');
  29.             })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement