Posted on Leave a comment

Gilchrist & Soames | Gilchrist & Soames Bath & Body Products

= 0 && slider_config.items != null) ? slider_config.items : 1); if(slider_config.transition != ‘slide’) { items = 1; } var stagePadding = slider_config.stagePadding != ” ? parseInt(slider_config.stagePadding) : 0; var animate_Out = slider_config.transition != ‘fadeOut’ ? true : false; var mobileBreakPoint = 778; function adjustOwlImages() { var windowWidth = $(window).width(); $(‘.banner-image img’).each(function () { if (windowWidth < mobileBreakPoint) { if ($(this).attr('data-src-mobile')) { if ($(this).attr('data-src-retina')) { $(this).attr('data-src', $(this).attr('data-src-mobile')); $(this).attr('data-src-retina', $(this).attr('data-src-mobile')); } } if ($(this).attr('src')) { $(this).attr('src', $(this).attr('data-src-mobile')); } } else { if ($(this).attr('data-src-desktop')) { if ($(this).attr('data-src-retina')) { $(this).attr('data-src', $(this).attr('data-src-desktop')); $(this).attr('data-src-retina', $(this).attr('data-src-desktop')); } } if ($(this).attr('src')) { $(this).attr('src', $(this).attr('data-src-desktop')); } } }); } $('.owl-carousel-custom-'+slider_id).on('resized.owl.carousel', function (event) { var $this = $(this); setTimeout(function(){ $this.find('.banner-item').css('display', 'block'); $this.find('.owl-height').css('height', $this.find('.owl-item.active').height()); }, 100); }); $('.owl-carousel-custom-'+slider_id).on('changed.owl.carousel', function (event) { var $that = $(this); setTimeout(function(){ $that.find('.owl-height').css('height', $that.find('.owl-item.active').height()); }, 10); }); $(window).resize(function(){ adjustOwlImages(); }); adjustOwlImages(); /** Lazyload bug when fewer items exist in the carousel then the ones displayed */ $('.owl-carousel-custom-'+slider_id).on('initialized.owl.carousel', function(event){ var scopeSize = event.page.size; for (var i = 0; i 0 && slider_config.autoplayTimeout != null) ? parseInt(slider_config.autoplayTimeout) : 3000, autoplayHoverPause:parseInt(slider_config.autoplayHoverPause) == 1 ? true : false, autoHeight :parseInt(slider_config.autoHeight) == 1 ? true : false, navSpeed :(parseInt(slider_config.navSpeed) > 0 && slider_config.navSpeed != null) ? parseInt(slider_config.navSpeed) : 0, dotsSpeed :(parseInt(slider_config.dotsSpeed) > 0 && slider_config.dotsSpeed != null) ? parseInt(slider_config.dotsSpeed) : 0, rtl :parseInt(slider_config.rtl) == 1 ? true : false, animateOut :slider_config.transition == ‘slide’ ? false : slider_config.transition, responsive:{ 0:{ nav :parseInt(slider_config.nav_brk1) == 1 ? true : false, items :parseInt(slider_config.items_brk1 >= 0 ? slider_config.items_brk1 : 0), }, 768:{ nav :parseInt(slider_config.nav_brk2) == 1 ? true : false, items :parseInt(slider_config.items_brk2 >= 0 ? slider_config.items_brk2 : 0), }, 1024:{ nav :parseInt(slider_config.nav_brk3) == 1 ? true : false, items :parseInt(slider_config.items_brk3 >= 0 ? slider_config.items_brk3 : 0), }, 1280:{ nav :parseInt(slider_config.nav_brk4) == 1 ? true : false, items :parseInt(slider_config.items_brk4 >= 0 ? slider_config.items_brk4 : 0), } } }); }); }); ]]>

Shop Collections

= 0 && slider_config.items != null) ? slider_config.items : 1); if(slider_config.transition != ‘slide’) { items = 1; } var stagePadding = slider_config.stagePadding != ” ? parseInt(slider_config.stagePadding) : 0; var animate_Out = slider_config.transition != ‘fadeOut’ ? true : false; var mobileBreakPoint = 778; function adjustOwlImages() { var windowWidth = $(window).width(); $(‘.banner-image img’).each(function () { if (windowWidth < mobileBreakPoint) { if ($(this).attr('data-src-mobile')) { if ($(this).attr('data-src-retina')) { $(this).attr('data-src', $(this).attr('data-src-mobile')); $(this).attr('data-src-retina', $(this).attr('data-src-mobile')); } } if ($(this).attr('src')) { $(this).attr('src', $(this).attr('data-src-mobile')); } } else { if ($(this).attr('data-src-desktop')) { if ($(this).attr('data-src-retina')) { $(this).attr('data-src', $(this).attr('data-src-desktop')); $(this).attr('data-src-retina', $(this).attr('data-src-desktop')); } } if ($(this).attr('src')) { $(this).attr('src', $(this).attr('data-src-desktop')); } } }); } $('.owl-carousel-custom-'+slider_id).on('resized.owl.carousel', function (event) { var $this = $(this); setTimeout(function(){ $this.find('.banner-item').css('display', 'block'); $this.find('.owl-height').css('height', $this.find('.owl-item.active').height()); }, 100); }); $('.owl-carousel-custom-'+slider_id).on('changed.owl.carousel', function (event) { var $that = $(this); setTimeout(function(){ $that.find('.owl-height').css('height', $that.find('.owl-item.active').height()); }, 10); }); $(window).resize(function(){ adjustOwlImages(); }); adjustOwlImages(); /** Lazyload bug when fewer items exist in the carousel then the ones displayed */ $('.owl-carousel-custom-'+slider_id).on('initialized.owl.carousel', function(event){ var scopeSize = event.page.size; for (var i = 0; i 0 && slider_config.autoplayTimeout != null) ? parseInt(slider_config.autoplayTimeout) : 3000, autoplayHoverPause:parseInt(slider_config.autoplayHoverPause) == 1 ? true : false, autoHeight :parseInt(slider_config.autoHeight) == 1 ? true : false, navSpeed :(parseInt(slider_config.navSpeed) > 0 && slider_config.navSpeed != null) ? parseInt(slider_config.navSpeed) : 0, dotsSpeed :(parseInt(slider_config.dotsSpeed) > 0 && slider_config.dotsSpeed != null) ? parseInt(slider_config.dotsSpeed) : 0, rtl :parseInt(slider_config.rtl) == 1 ? true : false, animateOut :slider_config.transition == ‘slide’ ? false : slider_config.transition, responsive:{ 0:{ nav :parseInt(slider_config.nav_brk1) == 1 ? true : false, items :parseInt(slider_config.items_brk1 >= 0 ? slider_config.items_brk1 : 0), }, 768:{ nav :parseInt(slider_config.nav_brk2) == 1 ? true : false, items :parseInt(slider_config.items_brk2 >= 0 ? slider_config.items_brk2 : 0), }, 1024:{ nav :parseInt(slider_config.nav_brk3) == 1 ? true : false, items :parseInt(slider_config.items_brk3 >= 0 ? slider_config.items_brk3 : 0), }, 1280:{ nav :parseInt(slider_config.nav_brk4) == 1 ? true : false, items :parseInt(slider_config.items_brk4 >= 0 ? slider_config.items_brk4 : 0), } } }); }); }); ]]>

 

Instagram

 

0 ){ $instagramPhotosEl.each(function() { var instaGramTarget =’#instagram-widget-624505f3084f2′, instaGramCount = 10, instagramToken = ‘IGQVJWajB3NmoyWDlzTjJhTHBlRDFXdjlFdFp1dmZAiNE9DTlV0dlJBSW9GV3BBRWlZAZAlJwNW1jQTFtbmVwLVNpMDEyMWJ6bXJmZAFRMYnBXLWVoVlRpdkpLNEZAVN1B1Qk45OVgxQ2R6UnlSUFJaWHdOVgZDZD’, instaImageNewTab = ”, instaImagePadding = ”, useImageShuffle = ”, useImageCaption = ”, useImageLazyLoad = ”, lazyLoadPlaceholderWidth = ’50px’, instaImageAltTag = 0, instaImageAltLabel = ”; if( !instaGramCount ) { instaGramCount = 6; } $.instagramFeedBasic({ ‘container’: instaGramTarget, ‘items’: instaGramCount, ‘token’: instagramToken, ‘image_new_tab’ : instaImageNewTab, ‘display_captions’ : useImageCaption, ‘image_padding’ : instaImagePadding, ‘image_alt_tag’: instaImageAltTag, ‘image_alt_label’: instaImageAltLabel, ‘image_lazy_load’ : useImageLazyLoad, ‘lazy_load_placeholder_width’ : lazyLoadPlaceholderWidth, ‘after’: function() { if (useImageShuffle) { new Shuffle($instagramPhotosEl); if (useImageLazyLoad) { $(window).scroll(_.debounce(function () { var evt = window.document.createEvent(‘UIEvents’); evt.initUIEvent(‘resize’, true, false, window, 0); window.dispatchEvent(evt); }, 350)); } } } }); }); } }); ]]>

Source

Leave a Reply

Your email address will not be published.