/** * 2010-2020 Webkul. * * NOTICE OF LICENSE * * All right is reserved, * Please go through this link for complete license : https://store.webkul.com/license.html * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade this module to newer * versions in the future. If you wish to customize this module for your * needs please refer to https://store.webkul.com/customisation-guidelines/ for more information. * * @author Webkul IN * @copyright 2010-2020 Webkul IN * @license https://store.webkul.com/license.html */ $(document).ready(function(){ $('.htlInterior-owlCarousel .owl-carousel').owlCarousel({ loop:true, nav:true, navSpeed:1000, navText:['',''], dots:false, items: 1, autoHeight:true, autoplay:true, autoplaySpeed:1000, autoplayTimeout:5000, autoplayHoverPause:true, responsiveClass:true, responsive:{ 1200:{ items:3 }, 480:{ items:2 }, } }); $('.interiorbox').on('mouseenter', function(){ $(this).find('div.interiorHoverBlockWrapper').show(); }); $('.interiorbox').on('mouseleave', function(){ $(this).find('div.interiorHoverBlockWrapper').hide(); }); $("div.interiorbox").fancybox({ autoDimensions: true, autoScale: true, autoSize: true, centerOnScroll: true, height: 'auto', scrolling: 'auto', width: 'auto', maxWidth: 700, 'hideOnContentClick': false, helpers: { overlay: { locked: false } } }); });