Commit ae2b060d9fcce512dac7557355fcc53fcb37f7a9
1 parent
66db6fd8
-collection
Showing
1 changed file
with
6 additions
and
31 deletions
Show diff stats
frontend/web/js/new_script.js
... | ... | @@ -133,37 +133,12 @@ $(document).ready(function () { |
133 | 133 | |
134 | 134 | |
135 | 135 | $('.collection .new_collection').owlCarousel({ |
136 | - responsiveClass: true, | |
137 | - loop: true, | |
138 | - responsive: { | |
139 | - 0: { | |
140 | - items: 2, | |
141 | - slideBy: 1 | |
142 | - }, | |
143 | - 340: { | |
144 | - items: 3, | |
145 | - slideBy: 1 | |
146 | - }, | |
147 | - 530: { | |
148 | - items: 5, | |
149 | - slideBy: 1 | |
150 | - }, | |
151 | - 768: { | |
152 | - items: 7, | |
153 | - slideBy: 1 | |
154 | - }, | |
155 | - 873: { | |
156 | - items: 8, | |
157 | - slideBy: 1 | |
158 | - }, | |
159 | - 1200: { | |
160 | - items: 9, | |
161 | - slideBy: 1 | |
162 | - } | |
163 | - }, | |
164 | - navSpeed: 150, | |
165 | - nav: true, | |
166 | - navText: [] | |
136 | + navigation : true, // Show next and prev buttons | |
137 | + slideSpeed : 500, | |
138 | + autoplayTimeout:3000, | |
139 | + paginationSpeed : 1000, | |
140 | + singleItem:true, | |
141 | + autoPlay:false | |
167 | 142 | |
168 | 143 | }); |
169 | 144 | ... | ... |