-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcarousel.html
77 lines (62 loc) · 1.93 KB
/
carousel.html
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<!-- META TAGS -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- OWL CAROUSEL CDN -->
<link rel="stylesheet" href="./owlcarousel/assets/owl.carousel.min.css">
<link rel="stylesheet" href="./owlcarousel/assets/owl.theme.default.min.css">
<!-- BOOTSTRAP CDN -->
<link rel="stylesheet" href="./css/bootstrap.min.css">
<!-- FONTAWSOME CDN -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css">
<!-- STYLESHEET CSS -->
<link rel="stylesheet" href="style.css">
<!-- TITLE -->
<title>Butter Charms</title>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="owl-carousel owl-theme">
<div class="item"><img src="./img/test.jpg" alt="Image"></div>
<div class="item"><img src="./img/test1.jpg" alt="Image"></div>
<div class="item"><img src="./img/test2.jpg" alt="Image"></div>
<div class="item"><img src="./img/test3.jpg" alt="Image"></div>
</div>
</div>
</div>
<!-- JQUERY CDN -->
<script src="./js/jquery-3.4.0.min.js"></script>
<!-- POPPER JS CDN -->
<script src="./js/popper.min.js"></script>
<!-- BOOTSTRAP JS CDN -->
<script src="./js/bootstrap.min.js"></script>
<!-- OWL CAROUSEL JS CDN -->
<script src="./owlcarousel/owl.carousel.min.js"></script>
<!-- OWL CAROUSEL METHOD CALL -->
<script>
$(document).ready(function(){
$(".owl-carousel").owlCarousel({
loop:true,
margin:10,
nav: true,
navText: ["<img src='./img/myprevimage.png' style='width:30px;'>","<img src='./img/mynextimage.png' style='width:30px;'>"],
responsive:{
0:{
items:1
},
600:{
items:3
},
1000:{
items:5
}
}
});
});
</script>
</body>
</html>