Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

u911

Newbie
  
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

1,050 profile views

u911's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. <div class="box-popular"> <div class="heading"> <h3>ПОПУЛЯРНЫЕ ТОВАРЫ <?php echo isset($its_category) ? 'КАТЕГОРИИ' : ''; ?></h3> </div> <div class="container"> <div class="carousel-wrap"> <div id="popular_carousel"> <?php include(DIR_TEMPLATE . $config_template . '/template/module/products.php'); ?> </div> </div> <div class="jcarousel-pagination"><ul></ul></div> </div> </div> <script type="text/javascript"> $(function() { $('#popular_carousel').jcarousel({ vertical: false, wrap: 'circular', // animation: 0, }); $('#popular_carousel').jcarouselAutoscroll({ interval: 8000, target: '+=5', autostart: true }); $('.box-popular .jcarousel-pagination ul') .on('jcarouselpagination:active', 'li', function() { $(this).addClass('active'); }) .on('jcarouselpagination:inactive', 'li', function() { $(this).removeClass('active'); }) .jcarouselPagination({ 'perPage':5, 'item': function(page, carouselItems) { return '<li class="' + (page == 1 ? "active" : "") + '"><a data-href="c' + page + '">' + page + '</a></li>'; } }); }); </script>
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.