main.js 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. $('#single-testimonial-item').owlCarousel({
  2. items : 1,
  3. navigation : true,
  4. pagination: false,
  5. slideSpeed : 300,
  6. paginationSpeed : 400,
  7. singleItem:true
  8. });
  9. $('#single-testimonial-item').find('.owl-prev').html('<i class="fa fa-angle-left"></i>');
  10. $('#single-testimonial-item').find('.owl-next').html('<i class="fa fa-angle-right"></i>');
  11. $('#testimonial-item').owlCarousel({
  12. items : 1,
  13. navigation : true,
  14. pagination: false,
  15. slideSpeed : 300,
  16. paginationSpeed : 400,
  17. singleItem:true
  18. });
  19. $('#testimonial-item').find('.owl-prev').html('<i class="fa fa-angle-left"></i>');
  20. $('#testimonial-item').find('.owl-next').html('<i class="fa fa-angle-right"></i>');
  21. $('#image-carousel').owlCarousel({
  22. navigation : false,
  23. pagination: true,
  24. items : 4,
  25. itemsDesktop : [1199,3],
  26. itemsDesktopSmall : [979,3]
  27. });
  28. $('#posts-carousel').owlCarousel({
  29. navigation : true,
  30. pagination: true,
  31. items : 4,
  32. itemsDesktop : [1199,3],
  33. itemsDesktopSmall : [979,3]
  34. });
  35. $('#posts-carousel').find('.owl-prev').html('<i class="fa fa-angle-left"></i>');
  36. $('#posts-carousel').find('.owl-next').html('<i class="fa fa-angle-right"></i>');
  37. $('#posts-carousel-3col').owlCarousel({
  38. navigation : true,
  39. pagination: false,
  40. items : 3,
  41. itemsDesktop : [1199,3],
  42. itemsDesktopSmall : [979,3]
  43. });
  44. $('#posts-carousel-3col').find('.owl-prev').html('<i class="fa fa-angle-left"></i>');
  45. $('#posts-carousel-3col').find('.owl-next').html('<i class="fa fa-angle-right"></i>');
  46. $('#image-slider').owlCarousel({
  47. navigation : true, // Show next and prev buttons
  48. slideSpeed : 300,
  49. paginationSpeed : 400,
  50. singleItem:true
  51. });
  52. $('#image-slider').find('.owl-prev').html('<i class="fa fa-angle-left"></i>');
  53. $('#image-slider').find('.owl-next').html('<i class="fa fa-angle-right"></i>');