why an un-commented code in slideshow.tpl is still working?
Posted: Thu Sep 29, 2016 7:22 pm
Hi, I have opencart 2.3.0.2.
How come even through a code is uncommented in slideshow.tpl, it still working? catalog/view/theme/default/template/extension/module/slideshow.tpl
When I change the autoPlay it works.
Here is the code:
<script type="text/javascript"><!--
$('#slideshow<?php echo $module; ?>').owlCarousel({
items: 6,
autoPlay: 6000,
singleItem: true,
navigation: true,
navigationText: ['<i class="fa fa-chevron-left fa-5x"></i>', '<i class="fa fa-chevron-right fa-5x"></i>'],
pagination: true
});
--></script>
How come even through a code is uncommented in slideshow.tpl, it still working? catalog/view/theme/default/template/extension/module/slideshow.tpl
When I change the autoPlay it works.
Here is the code:
<script type="text/javascript"><!--
$('#slideshow<?php echo $module; ?>').owlCarousel({
items: 6,
autoPlay: 6000,
singleItem: true,
navigation: true,
navigationText: ['<i class="fa fa-chevron-left fa-5x"></i>', '<i class="fa fa-chevron-right fa-5x"></i>'],
pagination: true
});
--></script>