Questo sito web utilizza i cookies per offrire una migliore esperienza di navigazione, gestire l'autenticazione e altre funzioni. Chiudendo questo banner, scorrendo questa pagina o cliccando qualunque suo elemento, l'utente esprime il suo consenso all’utilizzo dei cookies sul suo dispositivo.

 Visualizza la Privacy Policy Approvo

Circolari 2017

 
 
jQuery(document).ready(function(){ jQuery("#phModalPlay").on("hidden.bs.modal", function (e) { jQuery("#phModalPlay iframe").attr("src", jQuery("#phModalPlay iframe").attr("src")); jQuery("audio").each(function(){this.pause();this.currentTime = 0;}); jQuery("video").each(function(){this.pause();this.currentTime = 0;}); }); jQuery(".pd-modal-button").on("click", function () { var $target = jQuery(this).data("target"); var $href = jQuery(this).data("href"); var $body = $target + "Body"; var $dialog = $target + "Dialog"; var $height = jQuery(this).data("height"); var $width = jQuery(this).data("width"); var $heightD= jQuery(this).data("height-dialog"); var $widthD = jQuery(this).data("width-dialog"); var $type = jQuery(this).data("type"); jQuery($body).css("height", $height); jQuery($target).css("width", $width); jQuery($body).css("overflow-y", "auto"); jQuery($dialog).css("height", $heightD); jQuery($dialog).css("width", $widthD); if ($type == "image") { jQuery($body).html(''); } else if ($type == "document") { $widthD = $widthD -50; $heightD = $heightD -40; jQuery($body).html(''); } else { jQuery($body).load($href, function (response, status, xhr) { if (status == "success") { /*jQuery($target).modal({ show: true });*/ } }); } }); }); jQuery(function($) { SqueezeBox.initialize({}); SqueezeBox.assign($('a.pd-modal-button').get(), { parse: 'rel' }); }); window.jModalClose = function () { SqueezeBox.close(); }; // Add extra modal close functionality for tinyMCE-based editors document.onreadystatechange = function () { if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE) { if (typeof window.jModalClose_no_tinyMCE === 'undefined') { window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function' ? jModalClose : false; jModalClose = function () { if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments); tinyMCE.activeEditor.windowManager.close(); }; } if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined') { if (typeof(SqueezeBox) == 'undefined') SqueezeBox = {}; window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function' ? SqueezeBox.close : false; SqueezeBox.close = function () { if (window.SqueezeBoxClose_no_tinyMCE) window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments); tinyMCE.activeEditor.windowManager.close(); }; } } }; jQuery(function($){ $(".hasTooltip").tooltip({"html": true,"container": "body"}); }); JCEMediaBox.init({popup:{width:"",height:"",legacy:0,lightbox:0,shadowbox:0,resize:1,icons:1,overlay:1,overlayopacity:0.8,overlaycolor:"#000000",fadespeed:500,scalespeed:500,hideobjects:0,scrolling:"fixed",close:2,labels:{'close':'Chiudi','next':'Successivo','previous':'Precedente','cancel':'Annulla','numbers':'{$current} di {$total}'},cookie_expiry:"",google_viewer:0},tooltip:{className:"tooltip",opacity:0.8,speed:150,position:"br",offsets:{x: 16, y: 16}},base:"/",imgpath:"plugins/system/jcemediabox/img",theme:"standard",themecustom:"",themepath:"plugins/system/jcemediabox/themes",mediafallback:0,mediaselector:"audio,video"}); if(typeof acymailing == 'undefined'){ var acymailing = Array(); } acymailing['NAMECAPTION'] = 'Nome'; acymailing['NAME_MISSING'] = 'Inserisci il tuo nome.'; acymailing['EMAILCAPTION'] = 'Email'; acymailing['VALID_EMAIL'] = 'Inserisci un indirizzo email valido.'; acymailing['ACCEPT_TERMS'] = 'Leggi le note sulla Privacy e sui Termini di Utilizzo'; acymailing['CAPTCHA_MISSING'] = 'Inserisci il codice di sicurezza visualizzato nell\'immagine'; acymailing['NO_LIST_SELECTED'] = 'Si prega di selezionare le liste a cui si desidera iscriversi'; acymailing['level'] = 'enterprise'; acymailing['reqFieldsformAcymailing81441'] = Array('name','html'); acymailing['validFieldsformAcymailing81441'] = Array('Inserisci un valore per il campo Nome','Inserisci un valore per il campo Ricezione'); acymailing['excludeValuesformAcymailing81441'] = Array(); acymailing['excludeValuesformAcymailing81441']['name'] = 'Nome'; acymailing['excludeValuesformAcymailing81441']['email'] = 'Email'; jQuery(function ($) { initChosen(); $("body").on("subform-row-add", initChosen); function initChosen(event, container) { container = container || document; $(container).find(".advancedSelect").chosen({"disable_search_threshold":10,"search_contains":true,"allow_single_deselect":true,"placeholder_text_multiple":"Scrivi o seleziona alcune opzioni","placeholder_text_single":"Seleziona un'opzione","no_results_text":"Nessun risultato"}); } }); jQuery(document).ready(function() { var value, searchword = jQuery('#mod-finder-searchword411'); // Get the current value. value = searchword.val(); // If the current value equals the default value, clear it. searchword.on('focus', function () { var el = jQuery(this); if (el.val() === 'Cerca...') { el.val(''); } }); // If the current value is empty, set the previous value. searchword.on('blur', function () { var el = jQuery(this); if (!el.val()) { el.val(value); } }); jQuery('#mod-finder-searchform411').on('submit', function (e) { e.stopPropagation(); var advanced = jQuery('#mod-finder-advanced411'); // Disable select boxes with no value selected. if (advanced.length) { advanced.find('select').each(function (index, el) { var el = jQuery(el); if (!el.val()) { el.attr('disabled', 'disabled'); } }); } }); var suggest = jQuery('#mod-finder-searchword411').autocomplete({ serviceUrl: '/component/finder/?task=suggestions.suggest&format=json&tmpl=component', paramName: 'q', minChars: 1, maxHeight: 400, width: 300, zIndex: 9999, deferRequestBy: 500 });});