...
|
...
|
@@ -165,10 +165,14 @@ define('yohood', function(require, exports) { |
|
|
slideBox: '.slide-box',
|
|
|
prev: '.slide-prev',
|
|
|
next: '.slide-next',
|
|
|
pagination: '.dib a',
|
|
|
activeClass: 'on',
|
|
|
auto: 3000,
|
|
|
continuous: true
|
|
|
continuous: true,
|
|
|
callback: function(index) {
|
|
|
if (index >= $('.dib a').size()) {
|
|
|
index = index - $('.dib a').size();
|
|
|
}
|
|
|
$('.dib a').removeClass('on').eq(index).addClass('on');
|
|
|
}
|
|
|
});
|
|
|
|
|
|
if ($('.slide-box').find('.box').size() <= 1) {
|
...
|
...
|
|