-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
41 lines (36 loc) · 845 Bytes
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
$(document).ready(function(){
$('.Item-Box').slick({
slidesToShow: 3,
slidesToScroll: 1,
arrows:true,
autoplay:true,
autoplaySpeed:2000,
Infinity:true,
prevArrow:"<img class='a-left control-c prev slick-prev' src='./img/Left Arrow.png'>",
nextArrow:"<img class='a-right control-c next slick-next' src='./img/Right Arrow.png'>",
responsive: [
{
breakpoint: 1025,
settings: {
slidesToShow: 2,
}
},
{
breakpoint: 769,
settings: {
slidesToShow: 2,
arrows:true
}
},
{
breakpoint: 601,
settings: {
slidesToShow: 1,
arrows:false
}
},
]
});
});
// scoll smooth
// document.addEventListener('touchstart', onTouchStart, {passive: true});