Из вступительного слова Его Преосвященства Кардинала Анджело Комастри
««Быть всегда неразрывно связанным с Иисусом — вот цель всей моей жизни».
Этими словами Карло Акутис
выражает всю сущность своей недолгой жизни:
жить с Иисусом, жить для Иисуса, жить в Иисусе».
$(".gallery .thumb").prettyPhoto({ animation_speed:'normal', theme:'dark_square', opacity: 0.6, social_tools:'' // slideshow:10000, // autoplay_slideshow: true }); $("#cont_thumbs").find("a").on({ mouseenter: function(e) { e.preventDefault(); e.stopPropagation(); $("#"+($(this).attr('obj')).replace("thumb_","thumb-mask")).attr({'stroke':"#a18a63"}); }, mouseleave: function(e) { e.preventDefault(); e.stopPropagation(); $("#"+($(this).attr('obj')).replace("thumb_","thumb-mask")).attr({'stroke':"#ddbd7d"}); }, }); $("#cont_patronato").on({ mouseenter: function(e) { $(this).addClass('hover_patronato'); e.preventDefault(); e.stopPropagation(); }, mouseleave: function(e) { e.preventDefault(); e.stopPropagation(); $(this).removeClass('hover_patronato'); } }); $("#cont_reliquie").on({ mouseenter: function(e) { $(this).addClass('hover_reliquie'); e.preventDefault(); e.stopPropagation(); }, mouseleave: function(e) { e.preventDefault(); e.stopPropagation(); $(this).removeClass('hover_reliquie'); } }); $("#cantoon_play").on({ mouseenter: function(e) { $(this).addClass('hover'); e.preventDefault(); e.stopPropagation(); }, mouseleave: function(e) { e.preventDefault(); e.stopPropagation(); $(this).removeClass('hover'); }, click: function(e){ p=512/288; if (((obj_js.width)/512)>((obj_js.height)/288)) { // ing h h=obj_js.height-120; w=Math.floor(h*p); } else{ // ing w w=obj_js.width-120; h=Math.floor(w/p); } $("#cantoon_play a").attr({"href":"https://www.carloacutis.com/video.php"+"?w_v="+(w)+"&h_v="+(h)+"&w="+w+"&h="+h+"&u="+encodeURIComponent("https://www.carloacutis.com/img/"+"cartoneen.mp4")+"&iframe=true&isfullscreen=true&width="+(w+20)+"&height="+(h+20)+""}); $("#cantoon_play a").prettyPhoto({pp_w:obj_js.width-20,theme:'dark_square', pp_h:obj_js.height-20, deeplinking: false, show_title: false, allow_resize: false, social_tools: false, overlay_gallery:false}).click(); e.preventDefault(); e.stopPropagation(); } }); $("#inviaggioconcarlo_play").on({ mouseenter: function(e) { $(this).addClass('hover'); e.preventDefault(); e.stopPropagation(); }, mouseleave: function(e) { e.preventDefault(); e.stopPropagation(); $(this).removeClass('hover'); }, click: function(e){ p=512/288; if (((obj_js.width)/512)>((obj_js.height)/288)) { // ing h h=obj_js.height-120; w=Math.floor(h*p); } else{ // ing w w=obj_js.width-120; h=Math.floor(w/p); } $("#inviaggioconcarlo_play a").attr({"href":"https://www.carloacutis.com/video.php"+"?w_v="+(w)+"&h_v="+(h)+"&w="+w+"&h="+h+"&u="+encodeURIComponent("https://www.carloacutis.com/img/"+"inviaggioconcarloru.mp4")+"&iframe=true&isfullscreen=true&width="+(w+20)+"&height="+(h+20)+""}); $("#inviaggioconcarlo_play a").prettyPhoto({pp_w:obj_js.width-20,theme:'dark_square', pp_h:obj_js.height-20, deeplinking: false, show_title: false, allow_resize: false, social_tools: false, overlay_gallery:false}).click(); e.preventDefault(); e.stopPropagation(); } }); $("#miracolo_play").on({ mouseenter: function(e) { $(this).addClass('hover'); e.preventDefault(); e.stopPropagation(); }, mouseleave: function(e) { e.preventDefault(); e.stopPropagation(); $(this).removeClass('hover'); }, click: function(e){ p=512/288; if (((obj_js.width)/512)>((obj_js.height)/288)) { // ing h h=obj_js.height-120; w=Math.floor(h*p); } else{ // ing w w=obj_js.width-120; h=Math.floor(w/p); } $("#miracolo_play a").attr({"href":"https://www.carloacutis.com/video.php"+"?w_v="+(w)+"&h_v="+(h)+"&w="+w+"&h="+h+"&u="+encodeURIComponent("https://www.carloacutis.com/img/"+"miracolo.mp4")+"&iframe=true&isfullscreen=true&width="+(w+20)+"&height="+(h+20)+""}); $("#miracolo_play a").prettyPhoto({pp_w:obj_js.width-20,theme:'dark_square', pp_h:obj_js.height-20, deeplinking: false, show_title: false, allow_resize: false, social_tools: false, overlay_gallery:false}).click(); e.preventDefault(); e.stopPropagation(); } }); $("#catechesi_play").on({ mouseenter: function(e) { $(this).addClass('hover'); e.preventDefault(); e.stopPropagation(); }, mouseleave: function(e) { e.preventDefault(); e.stopPropagation(); $(this).removeClass('hover'); }, click: function(e){ window.open('http://www.catechesi.online','_cahetechesi'); e.preventDefault(); e.stopPropagation(); } }); $("#tomba_play").on({ mouseenter: function(e) { $(this).addClass('hover'); e.preventDefault(); e.stopPropagation(); }, mouseleave: function(e) { e.preventDefault(); e.stopPropagation(); $(this).removeClass('hover'); }, click: function(e){ window.open('https://www.mariavision.it/santuario-spogliazione-assisi','_tomba'); e.preventDefault(); e.stopPropagation(); } }); $("#biografia_play").on({ mouseenter: function(e) { $(this).addClass('hover'); e.preventDefault(); e.stopPropagation(); }, mouseleave: function(e) { e.preventDefault(); e.stopPropagation(); $(this).removeClass('hover'); }, click: function(e){ p=512/288; if (((obj_js.width)/512)>((obj_js.height)/288)) { // ing h h=obj_js.height-120; w=Math.floor(h*p); } else{ // ing w w=obj_js.width-120; h=Math.floor(w/p); } $("#biografia_play a").attr({"href":"https://www.carloacutis.com/video.php"+"?w_v="+(w)+"&h_v="+(h)+"&w="+w+"&h="+h+"&u="+encodeURIComponent("https://www.carloacutis.com/img/"+"cartone.mp4")+"&iframe=true&isfullscreen=true&width="+(w+20)+"&height="+(h+20)+""}); $("#biografia_play a").prettyPhoto({pp_w:obj_js.width-20,theme:'dark_square', pp_h:obj_js.height-20, deeplinking: false, show_title: false, allow_resize: false, social_tools: false, overlay_gallery:false}).click(); e.preventDefault(); e.stopPropagation(); } }); }); function MotionImage(){ if ((obj_js.images[obj_js.step].id)==1){ if (obj_js.step==0){t_img($(".img_a"),2,1,0);} t_img($(".img_"+(obj_js.step)),2,1,0); t_img($(".img_"+(obj_js.step+1)),3,1,1); obj_js.step++; if (obj_js.step>=13){ t_img($(".img_0"),3,1,1); t_img($(".img_0"),2,2+10,0); obj_js.step=0; } } obj_js.time=setTimeout(function(){MotionImage()},10*1000); } function t_img(ob,tm,ps,ap){ var t_a=(new TimelineLite({})).to(ob,tm,{autoAlpha: ap},ps); } function AddImage(){ $.each(obj_js.images, function(k, v) { $c_img=$("
").addClass("img_"+k+" c_img");
$img=$("").attr({"id":"img_"+k,"data-src":"https://www.carloacutis.com/public/img/association/"+v.src,"src":"https://www.carloacutis.com/public/img/pixel.gif","border":"0"}).addClass("lazy");
$c_img.append($img);
$("#slide_images").append($c_img);
});
$("#slide_images").show();
$("#slide_images img.lazy").lazy({
afterLoad: function(element) { obj_js.images[((element.attr("id")).replace("img_",""))].id=1; }
});
}
function Resize(){
obj_js.height=obj_js.wind.height;
obj_js.width=obj_js.wind.width;
$("#as_top,#as_message,#as_menu,#as_footer,#as_cont_page").width(obj_js.width);
$("#as_cont_page,#as_cont_page_left,#as_cont_page_right").height(obj_js.height-100-180-45-5-5-18-50);
$("#as_page_left,#as_page_right").height(obj_js.height-100-180-45-5-5-18-20-50);
$("#as_cont_page_right").width(obj_js.width-298+50)
$("#as_page_right").width(obj_js.width-298-50+50)
$("#as_left_bar").height(obj_js.height);
$("#as_footer").css({"top":obj_js.height-18});
$("#flag_top_association").css({"width":(obj_js.width)});
$("#cont_Flag_association_site").css({"left":(obj_js.width)+"px"});
$("#cont_patronato").css({"left":(obj_js.width-300)+"px"});
$("#cont_reliquie").css({"left":(obj_js.width-500)+"px"});
$("#cantoon_play").css({"left":(obj_js.width-220)+"px"});
//$("#biografia_play").css({"left":(obj_js.width-220-70)+"px"});
$("#miracolo_play").css({"left":(obj_js.width-220-70)+"px"});
$("#inviaggioconcarlo_play").css({"left":(obj_js.width-220-70-70)+"px"});
$("#catechesi_play").css({"left":(obj_js.width-220-70-70-70)+"px"});
$("#tomba_play").css({"left":(obj_js.width-220-70-70-70-70)+"px"});
}
function active_flag(){
$("#cont_Flag_association_site a").each(function(){
var url=obj_js.base_url+$(this).attr("site")+"/association/"+obj_js.active;
$(this).attr({"href":url});
$(this).children().attr({"href_url":url});
}) //var $a_site=$("").attr({"href":obj_js.base_url+sigle+"/avm/home","target":"_parent"});
}