Italia San Severo 71016
+39 0882276485
info@whitefoxdesign.it

DUCATI HOME AUTOMATION

Non preoccuparti di cosa sta per fare qualcun altro. Il miglior modo per predire il futuro è inventarlo. cit. Alan Kay

DUCATI HOME AUTOMATION

[]
DUCATI HOME AUTOMATION

  • “).css({“list-style”:”none”,clear:”both”,height:0}).appendTo(t);r.css({clear:”both”,padding:n.contentPadding});t.find(“a[data-title]”).each(function(){e(this).html(e(this).attr(“data-title”))});t.find(“a”).bind(“click”,function(){r.children(“.tab-“+e(this).attr(“data-tab”)).show().siblings().hide();t.children(“.active”).removeClass(“active”);e(this).parent().addClass(“active”);t.trigger(“checkstyle”);return false});t.find(“a:first”).trigger(“click”)})})};e(function(){e(“body”).willtabs()})})(jQuery)]]>“) ]]> 0) {return switcher;}return undefined;},getSwitcher: function() {var switcher = $(‘select[id=”ly-languages-switcher”]’);if (switcher.length > 0) {return switcher;}return undefined;},init: function() {if(langify.helper.getCookieEnabled()) {var internalRef = false;if(‘referrer’ in document) {var domains = {“ly16833″:”ducatihome.it”,”ly16834″:”it.ducatihome.it”,”ly16835″:”fr.ducatihome.it”,”ly16976″:”de.ducatihome.it”,”ly16977″:”es.ducatihome.it”};var refDomain = document.referrer.split(‘/’)[2];$.each(domains, function(key, value) {var splitDomains = [];if(value) {splitDomains = value.split(‘,’);for(var i = 0; i < splitDomains.length; ++i) {if(splitDomains[i] == refDomain) {internalRef = true;}}}});}if(!langify.switcher.getHasSelectedLanguage() && !internalRef) {ShopifyAPI.getCart(function (cart) {var userLanguage = window.navigator.userLanguage || window.navigator.language;if(userLanguage) {userLanguage = userLanguage.substring(0, 2);var note = cart.note;if(note == 'null') {note = '';}ShopifyAPI.updateCartNote(note, function () {ShopifyAPI.updateCartAttributes({'custom_language': 'true'}, function() {var userLanguage = window.navigator.userLanguage || window.navigator.language;if(userLanguage) {userLanguage = userLanguage.substring(0, 2);var languageCodes = [];languageCodes['en'] = 'ly16833';languageCodes['it'] = 'ly16834';languageCodes['fr'] = 'ly16835';languageCodes['de'] = 'ly16976';languageCodes['es'] = 'ly16977';var languages = [];var languageIds = [];languages['default'] = 'ly16833';languages['ly16833'] = 'English';languages['ly16834'] = 'Italian';languages['ly16835'] = 'French';languages['ly16976'] = 'German';languages['ly16977'] = 'Spanish';if(languageCodes[userLanguage] && languages[languageCodes[userLanguage]]) { langify.helper.changeLanguage(languageCodes[userLanguage]);}}});});}});}}var slickSwitcher = langify.switcher.getSlickSwitcher();if (slickSwitcher) {var selectedLanguage = langify.helper.getSelectedLanguage();if (selectedLanguage != '') {slickSwitcher.val(selectedLanguage);}langify.loader.loadScript('//cdn.shopify.com/s/files/1/0696/6481/t/75/assets/ly-select-box.js?v=11879018649228596149', function () {slickSwitcher.ddslick({onSelected: function (data) {langify.helper.changeLanguage(data.selectedData.value);}});});}var switcher = langify.switcher.getSwitcher();if (switcher) {var selectedLanguage = langify.helper.getSelectedLanguage();if (selectedLanguage != '') {switcher.val(selectedLanguage);}switcher.change(function () {langify.helper.changeLanguage(switcher.val());});}}};langify.idToLocale = function(languageId) { if(languageId == 'ly16833') { return 'en'; } if(languageId == 'ly16834') { return 'it'; } if(languageId == 'ly16835') { return 'fr'; } if(languageId == 'ly16976') { return 'de'; } if(languageId == 'ly16977') { return 'es'; } return false; }; langify.currency = langify.currency || {getHasSelectedCurrency: function() {return '' == 'true';},getCurrencyForLanguage: function(language) {var languageToCurrencies = [];return languageToCurrencies[language];},getCurrencySwitcher: function() {var currencySwitcher = $('#currencies');if(currencySwitcher.length) {return currencySwitcher;} else {return null;}},init: function() {if(!langify.currency.getHasSelectedCurrency()) { var currencySwitcher = langify.currency.getCurrencySwitcher();if(typeof Currency != 'undefined' && currencySwitcher) {currencySwitcher.change(function() {ShopifyAPI.getCart(function (cart) {var note = cart.note;if(note == 'null') {note = '';}ShopifyAPI.updateCartNote(note, function () {ShopifyAPI.updateCartAttributes({'custom_currency': 'true'},function() {});});});});var selectedLanguage = langify.helper.getSelectedLanguage();var currencyForLanguage = langify.currency.getCurrencyForLanguage(selectedLanguage);if(currencyForLanguage) {var currentCurrency = Currency.cookie.read();Currency.currentCurrency = currencyForLanguage;Currency.cookie.write(currencyForLanguage);Currency.convertAll(currentCurrency, currencyForLanguage);currencySwitcher.val(currencyForLanguage);var selectedCurrencySpan = $('span.selected-currency');if(selectedCurrencySpan.length) {selectedCurrencySpan.text(currencyForLanguage);}}} }}};langify.core = langify.core || {onComplete: function() {ShopifyAPI.attributeToString = function(attribute) {if((typeof attribute) !== 'string') {attribute += '';if(attribute === 'undefined') {attribute = '';}}return jQuery.trim(attribute);};ShopifyAPI.getCart = function(callback) {jQuery.getJSON('/cart.js', function (cart, textStatus) {if((typeof callback) === 'function') {callback(cart);}});};ShopifyAPI.updateCartNote = function(note, callback) {var params = {type: 'POST',url: '/cart/update.js',data: 'note=' + this.attributeToString(note),dataType: 'json',success: function(cart) {if((typeof callback) === 'function') {callback(cart);}},error: this.onError};jQuery.ajax(params);};ShopifyAPI.updateCartAttributes = function(attributes, callback) {var data = '';var that = this;if(jQuery.isArray(attributes)) {jQuery.each(attributes, function(indexInArray, valueOfElement) {var key = that.attributeToString(valueOfElement.key);if (key !== '') {data += 'attributes[' + key + ']=' + that.attributeToString(valueOfElement.value) + '&';}});} else if ((typeof attributes === 'object') && attributes !== null) {jQuery.each(attributes, function(key, value) {data += 'attributes[' + that.attributeToString(key) + ']=' + that.attributeToString(value) + '&';});}var params = {type: 'POST',url: '/cart/update.js',data: data,dataType: 'json',success: function(cart) {if((typeof callback) === 'function') {callback(cart);}},error: this.onError};jQuery.ajax(params);};ShopifyAPI.onError = function(XMLHttpRequest, textStatus) {};langify.switcher.init();langify.translator.init();langify.currency.init();ShopifyAPI.getCart(function (cart) {var note = cart.note;if(note == 'null') {note = '';}ShopifyAPI.updateCartNote(note, function () {ShopifyAPI.updateCartAttributes({'language': langify.helper.getSelectedLanguage()}, function() {});});}); if((typeof langifyCompleteCallback) === 'function') {var languages = [];languages["ly16833"] = {name: "English",domains: "ducatihome.it"};languages["ly16834"] = {name: "Italian",domains: "it.ducatihome.it"};languages["ly16835"] = {name: "French",domains: "fr.ducatihome.it"};languages["ly16976"] = {name: "German",domains: "de.ducatihome.it"};languages["ly16977"] = {name: "Spanish",domains: "es.ducatihome.it"};langifyCompleteCallback({protocol: "https://",useDomains: true,languages: languages,saveLanguage: langify.helper.saveLanguage || langify.helper.changeLanguage,currentLanguage: langify.helper.getSelectedLanguage()});} var LySwitcherDrawer = LySwitcherDrawer || { templateList: new Array(), init: function() { LySwitcherDrawer._fetchDrawerData(); setTimeout(function() { for(var i=0; i 30) return; } if (endIntervalTheme === true && endIntervalShopify === true) { return; } let fm; if (endIntervalTheme === false) { if (“undefined” === typeof theme || “undefined” === typeof theme.Currency) { setTimeout(GeolizrCurrencyWatcherInterval, 10); } else { theme.Currency.geolizrWatch(“formatMoney”, watcher); fm = Geolizr.appendShopifyFormatMoney(theme.Currency.formatMoney); theme.Currency.formatMoney = fm.m; endIntervalTheme = true; return } } if (endIntervalShopify === false) { if (“undefined” === typeof Shopify) { setTimeout(GeolizrCurrencyWatcherInterval, 10); } else { Shopify.geolizrWatch(“formatMoney”, watcher); fm = Geolizr.appendShopifyFormatMoney(Shopify.formatMoney); if (“undefined” !== typeof Shopify.money_format) Geolizr.money_format = Shopify.money_format; Shopify.formatMoney = fm.m; endIntervalShopify = true; } } }; GeolizrCurrencyWatcherInterval(); } ]]>‘,controlattrs:{offsetx:5,offsety:5},anchorkeyword:”#top”,state:{isvisible:!1,shouldvisible:!1},scrollup:function(){this.cssfixedsupport||this.$control.css({opacity:0});var t=isNaN(this.setting.scrollto)?this.setting.scrollto:parseInt(this.setting.scrollto);t=”string”==typeof t&&1==jQuery(“#”+t).length?jQuery(“#”+t).offset().top:0,this.$body.animate({scrollTop:t},this.setting.scrollduration)},keepfixed:function(){var t=jQuery(window),o=t.scrollLeft()+t.width()-this.$control.width()-this.controlattrs.offsetx,s=t.scrollTop()+t.height()-this.$control.height()-this.controlattrs.offsety;this.$control.css({left:o+”px”,top:s+”px”})},togglecontrol:function(){var t=jQuery(window).scrollTop();this.cssfixedsupport||this.keepfixed(),this.state.shouldvisible=t>=this.setting.startline?!0:!1,this.state.shouldvisible&&!this.state.isvisible?(this.$control.stop().animate({opacity:1},this.setting.fadeduration[0]),this.state.isvisible=!0):0==this.state.shouldvisible&&this.state.isvisible&&(this.$control.stop().animate({opacity:0},this.setting.fadeduration[1]),this.state.isvisible=!1)},init:function(){jQuery(document).ready(function(t){var o=scrolltotop,s=document.all;o.cssfixedsupport=!s||s&&”CSS1Compat”==document.compatMode&&window.XMLHttpRequest,o.$body=t(window.opera?”CSS1Compat”==document.compatMode?”html”:”body”:”html,body”),o.$control=t(”+o.controlHTML+””).css({position:o.cssfixedsupport?”fixed”:”absolute”,bottom:o.controlattrs.offsety,left:o.controlattrs.offsetx,opacity:0,cursor:”pointer”}).attr({title:”Scroll to Top”}).click(function(){return o.scrollup(),!1}).appendTo(“body”),document.all&&!window.XMLHttpRequest&&””!=o.$control.text()&&o.$control.css({width:o.$control.width()}),o.togglecontrol(),t(‘a[href=”‘+o.anchorkeyword+'”]’).click(function(){return o.scrollup(),!1}),t(window).bind(“scroll resize”,function(t){o.togglecontrol()})})}};scrolltotop.init();]]>

    Source

    Lascia un commento

    Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *