Aquarius.module.define('Module/Owl', {
config: {
},
init: function () {
var self = this;
$('#jsHeroCarousel').owlCarousel({
autoPlay: true, //8000,
navigation: false,
singleItem: true,
mouseDrag: false,
touchDrag: false,
transitionStyle: 'fade',
afterInit: function () {
$('.hero__container--carousel').animate(
{ opacity: 1 },
"slow",
function()
{
}
).show();
}
});
$('#jsProductCarousel').owlCarousel({
pagination: false,
items: 10,
navigation: true,
navigationText: ['', ''],
itemsCustom: [
[1199, 10],
[1190, 10],
[980, 10],
[870, 8],
[768, 5],
[724, 5],
[680, 6],
[600, 4],
[479, 3],
[320, 2]
],
afterInit: function () {
$('.colorTabs').find('.container--slide').removeClass('u-hidden');
}
});
}
});