Necrologi – Necrologie defunti e annunci funebri


Necrologi – Necrologie defunti e annunci funebri – Annunci mortuari – Necrologie La Repubblica -1) { window.kw_site_mode = “embed”; } try { window.kwasyncsetup = true; var kw_alt_tlh_regex_3 = /^https?://(test|pre|www).lanuovasardegna.it/; if (location.href.match(kw_alt_tlh_regex_3)) { window.kwasyncsetup = false; } } catch(e) { console.log(‘%c[head.js] %c ERROR SETTING kwasyncsetup value => setting false as fallback’, ‘padding: 2px; background: yellow; color: #000’, ‘padding: 2px; color: #00F’); window.kwasyncsetup = false; } function MNZ_RICH() {} function MNZ_moreContent() {} function asr_error() { window.kw_tlh_adSetupAvailable = false; console.log(“%c[head.js] %cLoading TLH Library Manually”, ‘padding: 2px; background: yellow; color: #000’, ‘padding: 2px; color: #00F’); var script = document.createElement(‘script’); script.async = false; script.onload = function (e, elem) { window.kw_tlh_ready(); console.log(‘%c[head.js] %cDETECTED MISSING ADSETUP LOADING -> loading single js tlh configuration’, ‘padding: 2px; background: yellow; color: #000’, ‘padding: 2px; color: #00F’); }; script.onerror = function (e) { console.log(e); }; script.src = “https://tlh.gedidigital.it/tlh.js”; document.head.appendChild(script); } function kw_tlh_ready() { console.log(‘%c[head.js] %cTLH READY EVENT RECEIVED’, ‘padding: 2px; background: yellow; color: #000’, ‘padding: 2px; color: #00F’); } function kw_js_seo_tricks(){ // resets itself avoiding further executions due to readystate change window.kw_js_seo_tricks = function() {}; console.log(“[SEO TRICKS] Adding seo meta”); var seo_tricks = [ { url_contains: “//www.lastampa.it/la-zampa/argomenti/cani”, title: “Cani – La Zampa – La Stampa”, description: “Notizie sui cani nella nostra vita quotidiana” }, { url_contains: “//www.lastampa.it/la-zampa/argomenti/gatti”, title: “Gatti – La Zampa – La Stampa”, description: “Notizie sui gatti nella nostra vita quotidiana” }, { url_contains: “//www.lastampa.it/la-zampa/argomenti/altri_animali”, title: “Altri animali – La Zampa – La Stampa”, description: “Notizie sugli animali nei loro ambienti naturali e nelle nostre città. Diritti, curiosità, consigli.” } ]; if(window.location.href.indexOf(“//www.lastampa.it/la-zampa”) < 0) { console.log("[SEO TRICKS] DIDNT MATCH LA ZAMPA - Aborting seo trick"); return; } if(!window.pageType) { console.log("[SEO TRICKS] Missing pagetype....aborting"); return; } try { if (window.pageType === "lista_tag"){ console.log("[SEO TRICKS] Looping rules"); for (var i = 0; i -1) { console.log("[SEO TRICKS] Matched current url with rule: ", seo_tricks[i].url_contains, "- TITLE ", seo_tricks[i].title, " - DESCRIPTION ", seo_tricks[i].description); document.title = seo_tricks[i].title; document.querySelector("meta[name=description]").setAttribute("content",seo_tricks[i].description); console.log("[SEO TRICKS] Added seo meta"); return; } } console.log("[SEO TRICKS] Didn't match any rule."); } else { console.log("[SEO TRICKS] Wrong pagetype."); } } catch(e) { console.log("[SEO TRICKS] ERROR EXECUTING SEO TRICKS", e); } } if (document.readyState !== 'loading') { window.kw_js_seo_tricks(); } else { document.onreadystatechange = function() { if (document.readyState !== 'loading') { window.kw_js_seo_tricks(); } } } ]]> 0); }); $(‘#search_date_to’).datepicker({ dateFormat: ‘dd/mm/yy’, altField: “#search_date_to_alt”, altFormat: ‘yy-mm-dd’, changeMonth: true, changeYear: true, maxDate: new Date(), yearRange: ‘2002:2022’ }).keyup(function (e) { if (e.keyCode == 8 || e.keyCode == 46) { $.datepicker._clearDate(this); } }).on(‘change’, function () { $(‘#search_date_to_clear’).toggleClass(‘visible’, $(‘#search_date_to’).val().length > 0); }); $(‘#search_date_from_clear’).click(function (e) { e.preventDefault(); $(‘#search_date_from’).datepicker(“setDate”, null).trigger(‘change’); }); $(‘#search_date_to_clear’).click(function (e) { e.preventDefault(); $(‘#search_date_to’).datepicker(“setDate”, null).trigger(‘change’); }); $(‘#open_advanced_search’).click(function (e) { e.preventDefault(); $(‘#advanced_search_panel’).show(); $(‘#open_advanced_search’).hide(); $(‘#close_advanced_search’).show(); // close_advanced_search }); $(‘#close_advanced_search’).click(function (e) { e.preventDefault(); $(‘#advanced_search_panel’).hide(); $(‘#open_advanced_search’).show(); $(‘#close_advanced_search’).hide(); }); // handling the month/year switch on vip searches $(‘#search_by_field_m’).click(function(e){ $(‘#search_death_year option’).prop(‘selected’, false); $(‘#search_death_year’).prop(‘disabled’, true); $(‘#search_death_month’).prop(‘disabled’, false); }); $(‘#search_by_field_y’).click(function(e){ $(‘#search_death_month option’).prop(‘selected’, false); $(‘#search_death_month’).prop(‘disabled’, true); $(‘#search_death_year’).prop(‘disabled’, false); }); // Handling show/hide of the vip/necrologie filters $(“input:radio[name=search\[famous\]]”).change(function(e){ var search_famous = $(this).val(); if (search_famous==’Y’) { $(‘.form-group.not-famous’).hide(); $(‘.form-group.famous’).show(); } else { $(‘.form-group.not-famous’).show(); $(‘.form-group.famous’).hide(); } }); $(‘.form-group.not-famous’).show(); $(‘.form-group.famous’).hide(); $(‘#search_death_year option’).prop(‘selected’, false); $(‘#search_death_year’).prop(‘disabled’, true); $(‘#search_death_month option’).prop(‘selected’, false); $(‘#search_death_month’).prop(‘disabled’, true); FacetedSearch() .base(‘/cerca’) .facet(function (f) { return f.data(‘filter’); }) .value(function (f) { return f.val(); }) .on(‘#search’); }); ]]>



Source

Leave a Reply