Penambahan FrontEnd All-New-Manufacture
This commit is contained in:
53
public/js/dlab.carousel.js
Normal file
53
public/js/dlab.carousel.js
Normal file
@@ -0,0 +1,53 @@
|
||||
/* JavaScript Document */
|
||||
function carouselReview(){
|
||||
"use strict"
|
||||
|
||||
jQuery('.testimonial-one').owlCarousel({
|
||||
loop:true,
|
||||
autoplay:true,
|
||||
margin:20,
|
||||
nav:false,
|
||||
rtl:true,
|
||||
dots: false,
|
||||
navText: ['', ''],
|
||||
responsive:{
|
||||
0:{
|
||||
items:3
|
||||
},
|
||||
450:{
|
||||
items:4
|
||||
},
|
||||
600:{
|
||||
items:5
|
||||
},
|
||||
991:{
|
||||
items:5
|
||||
},
|
||||
|
||||
1200:{
|
||||
items:7
|
||||
},
|
||||
1601:{
|
||||
items:5
|
||||
}
|
||||
}
|
||||
})
|
||||
jQuery('.cards-slider').owlCarousel({
|
||||
loop:false,
|
||||
margin:30,
|
||||
nav:true,
|
||||
rtl:(getUrlParams('dir') == 'rtl')?true:false,
|
||||
autoWidth:true,
|
||||
//rtl:true,
|
||||
dots: false,
|
||||
navText: ['', ''],
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
jQuery(window).on('load',function(){
|
||||
setTimeout(function(){
|
||||
carouselReview();
|
||||
}, 1000);
|
||||
});
|
||||
/* Document .ready END */
|
||||
Reference in New Issue
Block a user