Commit 66db6fd8cdef3b47ab75f32761b041b668a66e76

Authored by Виталий
1 parent e401cf08

-collection

Showing 1 changed file with 23 additions and 11 deletions   Show diff stats
frontend/web/js/new_script.js
... ... @@ -133,25 +133,37 @@ $(document).ready(function () {
133 133  
134 134  
135 135 $('.collection .new_collection').owlCarousel({
136   - navigation : true, // Show next and prev buttons
137   - slideSpeed : 500,
138   - autoplayTimeout:3000,
139   - paginationSpeed : 1000,
140 136 responsiveClass: true,
  137 + loop: true,
141 138 responsive: {
142   - 1199: {
143   - items: 2,
144   - slideBy: 1
145   - },
146   - 1200: {
  139 + 0: {
147 140 items: 2,
148 141 slideBy: 1
149 142 },
150   - 1980: {
  143 + 340: {
151 144 items: 3,
152 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
153 162 }
154   - }
  163 + },
  164 + navSpeed: 150,
  165 + nav: true,
  166 + navText: []
155 167  
156 168 });
157 169  
... ...