first commit
This commit is contained in:
40
wp/wp-content/themes/thbusiness/js/settings.js
Normal file
40
wp/wp-content/themes/thbusiness/js/settings.js
Normal file
@@ -0,0 +1,40 @@
|
||||
(function($) {
|
||||
"use strict";
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$('#blog .owl-carousel').owlCarousel({
|
||||
autoplay: true,
|
||||
autoPlaySpeed: 5000,
|
||||
smartSpeed: 3000,
|
||||
autoplayTimeout: 10000,
|
||||
loop:true,
|
||||
responsiveClass:false,
|
||||
dots: true,
|
||||
nav: false,
|
||||
//navText: ['<i class="fa fa-arrow-left fa-2x"></i>','<i class="fa fa-arrow-right fa-2x"></i>'], //Note, if you are not using Font Awesome in your theme, you can change this to Previous & Next
|
||||
responsive:{
|
||||
0:{
|
||||
items: 1
|
||||
}
|
||||
// ,
|
||||
// 600:{
|
||||
// items: 2
|
||||
// },
|
||||
// 1000:{
|
||||
// items: 2
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
})
|
||||
// var $owl = $('.owl-carousel').owlCarousel({
|
||||
// items: 1,
|
||||
// loop:true
|
||||
// });
|
||||
|
||||
// $owl.trigger('refresh.owl.carousel');
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user