Commit e3e8325fe6d627890f2ea81737f171af23bc2a93

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

-collection

common/modules/product/widgets/views/products_block_similar.php
@@ -29,21 +29,6 @@ @@ -29,21 +29,6 @@
29 } ?> 29 } ?>
30 </div> 30 </div>
31 31
32 - <?php $js = "$(\"#collection .new_collection\").owlCarousel({  
33 - navigation : true, // Show next and prev buttons  
34 - slideSpeed : 500,  
35 - autoplayTimeout:3000,  
36 - paginationSpeed : 1000,  
37 - singleItem:true,  
38 - autoPlay:true  
39 -  
40 - });  
41 -";  
42 -  
43 -  
44 -  
45 - $this->registerJs($js, View::POS_LOAD);  
46 - ?>  
47 <div class="clearfix"></div> 32 <div class="clearfix"></div>
48 33
49 </div> 34 </div>
frontend/views/site/index.php
@@ -67,6 +67,15 @@ responsiveClass: true, @@ -67,6 +67,15 @@ responsiveClass: true,
67 navSpeed:200, 67 navSpeed:200,
68 68
69 }) 69 })
  70 +$('#collection .new_collection').owlCarousel({
  71 + navigation : true, // Show next and prev buttons
  72 + slideSpeed : 500,
  73 + autoplayTimeout:3000,
  74 + paginationSpeed : 1000,
  75 + singleItem:true,
  76 + autoPlay:true
  77 +
  78 + });
70 "; 79 ";
71 80
72 81