1$(window).on('closeme.zf.reveal', function () { 2 $('.reveal').foundation('close'); 3}); 4 5function inviaDati(url,dati,ritorno) { 6 $("#infomodal").html(''); 7 url= url.replace(/\&/g,'&'); 8 var form = $('#' + dati); 9 $.ajax({ 10 url: url, 11 type: "POST", 12 data: new FormData($('#' + dati).get(0)), 13 contentType: false, 14 cache: false, 15 processData:false, 16 success: function(data) 17 { 18 if(data.length > 0) { 19 $('#'+ritorno).html(data); 20 $('#'+ritorno).css("opacity", "0.4"); 21 $('#'+ritorno).animate({opacity: 1}, 800); 22 } 23 }, 24 }); 25} 26function vedisino(cat){ 27 $("."+cat).animate({opacity: 'toggle', height: 'toggle'}); 28} 29function modalinfogb(path, invio, dati){ 30 path = path.replace(/\&/g,'&'); 31 $('#infogbmodal').remove(); 32 if (dati) { var dati = $('#'+dati).serialize(); } 33 $.post(path, dati, function(data){ 34 if(data.length > 0) { 35 $('#'+invio).html(data); 36 } 37 }); 38}; 39function adaptParallax(){ 40 $(".modshape .dzsparallaxer, .modshape.dzsparallaxer").each(function () { 41 var modshapeHeight = $(this).find("div.notaparallax").outerHeight() + 60; 42 if(modshapeHeight > $(".modshape .dzsparallaxer, .modshape.dzsparallaxer").height()) { 43 $(this).css("height", modshapeHeight); 44 $(this).find(".divimage.dzsparallaxer--target").css("height",modshapeHeight + 500); 45 } 46 }) 47} 48$(document).ready(function() { 49 $(document).foundation(); 50 $(".openpul, .closepul").click(function () { 51 $(".menunav").toggleClass("opened"); 52 }); 53 $(".hamburger").click(function(){ 54 $(".hamburger").toggleClass("is-active"); 55 $(".nereo_menu_onpage").toggleClass("collapsed side-open"); 56 }); 57 $(window).resize(function() { 58 adaptParallax(); 59 }); 60 adaptParallax(); 61 62 $(".nereo_menu_onpage a").on('click', function(event) { 63 $(".hamburger").toggleClass("is-active"); 64 $(".nereo_menu_onpage").toggleClass("collapsed side-open"); 65 if (this.hash !== "" && location.hash !== "") { 66 event.preventDefault(); 67 var hash = this.hash; 68 $('html, body').animate({ 69 scrollTop: $(hash).offset().top 70 }, 800, function(){ 71 window.location.hash = hash; 72 }); 73 } 74 }); 75 76 77 78 79 80 81 82 83 84 85 86 87 88}); 89 90 91
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.