1// --------------------- CHIUSURA --------------------- 2 3$(".chiudi-popup").click( 4 function () { 5 $(".popup").addClass("hidden"); 6 // $(".page-container").removeClass("blur"); 7 $("body").css( "overflow", "initial" ); 8 $(".popup").animate({opacity: 0}); 9 $(".box-popup").animate({opacity: 0}); 10 } 11); 12 13$(".popup-overlay").click( 14 function () { 15 $(".popup").addClass("hidden"); 16 // $(".page-container").removeClass("blur"); 17 $("body").css( "overflow", "initial" ); 18 $(".popup").animate({opacity: 0}); 19 $(".box-popup").animate({opacity: 0}); 20 } 21) 22 23$(document).keyup(function(e) { 24 if (e.key === "Escape") { // escape key maps to keycode `27` 25 $(".popup").addClass("hidden"); 26 // $(".page-container").removeClass("blur"); 27 $("body").css("overflow", "initial"); 28 $(".popup").animate({opacity: 0}); 29 $(".box-popup").animate({opacity: 0}); 30 } 31}); 32 33// --------------------- FINE - CHIUSURA --------------------- 34 35 36 37// --------------------- TRIGGER --------------------- 38 39$(".popup-form-trigger").click( 40 function ( event ) { 41 event.preventDefault(); 42 $(".popup.form-prenotazione").removeClass("hidden"); 43 // $(".page-container").addClass("blur"); 44 $("body").css( "overflow", "hidden" ); 45 $(".popup").animate({opacity: 1}, 300); 46 $(".box-popup").animate({opacity: 1}, 300); 47 } 48) 49 50$(".popup-form-simulator-trigger").click( 51 function ( event ) { 52 event.preventDefault(); 53 $(".popup.form-prenotazione-simulator").removeClass("hidden"); 54 // $(".page-container").addClass("blur"); 55 $("body").css( "overflow", "hidden" ); 56 $(".popup").animate({opacity: 1}, 300); 57 $(".box-popup").animate({opacity: 1}, 300); 58 } 59) 60 61$(".slideshow-trigger").click( 62 function ( event ) { 63 event.preventDefault(); 64 $(".popup.slideshow").removeClass("hidden"); 65 // $(".page-container").addClass("blur"); 66 $("body").css( "overflow", "hidden" ); 67 $(".popup").animate({opacity: 1}, 300); 68 $(".box-popup").animate({opacity: 1}, 300); 69 } 70) 71 72// --------------------- FINE - TRIGGER ---------------------
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.