var body = document.body; body.className += " u-body u-clearfix u-xl-mode"; body.style.cssText += " "; var dataBg = ''; if (dataBg) { body.setAttribute('data-bg', dataBg); } Termine des Ortsverbandes Duisburg Hier findet Ihr alle Termine im Ortsverband Duisburg Vorheriges JahrVorheriger MonatNächstes JahrNächstes MonatSeptember 2021 Mo Di Mi Do Fr Sa So 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 (function($){ if ($('.spanEv:visible').length !== 0) { return false; } $view_width = $(window).width(); var smallwidththreshold = 481; var icmouse = 'mouseover'; var mouseout = '1'; var icclasstip = '.icevent a'; var icclass = '.iccalendar'; var position = 'center'; var posmiddle = 'top'; var modid = '143'; var modidid = '#143'; var icagendabtn = '.icagendabtn_143'; var mod_iccalendar = '#mod_iccalendar_143'; var template = '.ic_rounded'; var loading = 'Ladevorgang...'; var closetxt = 'Schließen'; var tip_type = '1'; var tipwidth = 390; var verticaloffset = 50; var css_position = ''; var mobile_min_width = 320; var extra_css = ''; $(document).on('click', icagendabtn, function(e){ e.preventDefault(); url=$(this).attr('href'); $(modidid).html('' + loading + '').load(url + ' ' + mod_iccalendar, function(){$('#mod_iccalendar_143').highlightToday();}); }); // Calendar Keyboard Accessibility (experimental, since 3.5.14) if (typeof first_mod === 'undefined') { $i = '1'; first_mod = modid; first_nb = $i; nb_mod = $i; } else { $i = (typeof $i === 'undefined') ? '2' : ++$i; nb_mod = $i; } $('#ic-calendar-'+modid).addClass('ic-'+nb_mod); $(document).keydown(function(e){ // ctrl+alt+C : focus on first Calendar module // REMOVE: Polish language conflict, alt+C Ć // if (e.ctrlKey && e.altKey && e.keyCode == 67) { // $('#ic-calendar-'+first_mod).focus(); // } // ctrl+alt+N : focus on Next calendar module if (e.ctrlKey && e.altKey && e.keyCode == 78) { if ($('#ic-calendar-'+modid).is(':focus')) { activ = $('#ic-calendar-'+modid).attr('class'); act = activ.split('-'); act = act[1]; next = ++act; } mod_class = $('#ic-calendar-'+modid).attr('class'); if ($('.ic-'+next).length == 0) next = 1; if (mod_class == 'ic-'+next) $('.ic-'+next).focus(); } // On focused calendar module if ($('#ic-calendar-'+modid).is(':focus')){ switch (e.keyCode) { case 37: // Left arrow pressed url = $('#ic-calendar-'+modid+' #ic-prev-month').attr('href'); break; case 38: // Top arrow pressed url = $('#ic-calendar-'+modid+' #ic-next-year').attr('href'); break; case 39: // Right arrow pressed url = $('#ic-calendar-'+modid+' #ic-next-month').attr('href'); break; case 40: // Top arrow pressed url = $('#ic-calendar-'+modid+' #ic-prev-year').attr('href'); break; } if ((!e.shiftKey && (e.keyCode == 37 || e.keyCode == 39)) || (e.shiftKey && (e.keyCode == 38 || e.keyCode == 40))) { $(modidid).html('' + loading + '').load(url + ' ' + mod_iccalendar, function(){$('#mod_iccalendar_143').highlightToday();}); } // if ($(modidid+' '+icclasstip).is(':focus') && e.keyCode == 13){ // var icmouse = "click"; // } } }); if (tip_type=='2') {// $(document).on(icmouse, this, function(e){ // e.preventDefault(); // $(".iCaTip").tipTip({maxWidth: "400", defaultPosition: "top", edgeOffset: 1, activation:"hover", keepAlive: true}); // }); } if (tip_type=='1') { // Mobile phones do not support 'hover' or 'click' in the conventional way // if ($view_width < smallwidththreshold) { // icmouse = 'click touchend'; // } if (window.matchMedia('(pointer: coarse)').matches) { icmouse = 'click'; } $(document).on(icmouse, modidid+' '+icclasstip, function(e){ // e.stopImmediatePropagation(); $view_height=$(window).height(); $view_width=$(window).width(); e.preventDefault(); $('#ictip').remove(); $parent=$(this).parent(); var tip = $($parent).children(modidid+' .spanEv').html(); tip = tip.replace(//g,''); var $tip = tip.replace(//g,''); if ($view_width < smallwidththreshold) { css_position = 'fixed'; $width_px = Math.max(mobile_min_width,$view_width); $width = '100%'; $pos = '0px'; $top = '0px'; extra_css='border:0;border-radius:0;height:100%;box-shadow:none;margin:0px;padding:10px;min-width:'+mobile_min_width+'px;overflow-y:scroll;padding:0;'; } else { css_position = 'absolute'; $width_px = Math.min($view_width, tipwidth); $width = $width_px+'px'; switch(position) { case 'left': $pos=Math.max(0,$(modidid).offset().left-$width_px-10)+'px'; break; case 'right': $pos=Math.max(0,Math.min($view_width-$width_px,$(modidid).offset().left+$(modidid).width()+10))+'px'; break; default: $pos=Math.ceil(($view_width-$width_px)/2)+'px'; break; } if (posmiddle === 'top') { $top = Math.max(0,$(modidid).offset().top-verticaloffset)+'px'; } else { $top = Math.max(0,$(modidid).offset().top+$(modidid).height()-verticaloffset)+'px'; } } $('body').prepend(' '+$(this).parent().children('.date').html()+'' + closetxt + ''+$tip+''); // Tooltip Keyboard Accessibility (experimental, since 3.5.14) $(document).keydown(function(e){ // Shift : focus on tooltip events if ($('.icevent a').is(':focus') && e.keyCode == 16){ $('.ictip-event a').focus(); } // esc : close tooltip if (($('.ictip-event a').is(':focus') || $('.icevent a').is(':focus')) && e.keyCode == 27){ e.preventDefault(); $('#ictip').remove(); } }); // Close Tooltip $(document).on('click touchend', '.close', function(e){ e.preventDefault(); $('#ictip').remove(); }); if (mouseout == '1') { $('#ictip') .mouseout(function() { // $( "div:first", this ).text( "mouse out" ); $('#ictip').stop(true).fadeOut(300); }) .mouseover(function() { // $( "div:first", this ).text( "mouse over" ); $('#ictip').stop(true).fadeIn(300); }); } }); } }) (jQuery); @media print { .ms-editor-squiggler { display:none !important; } } .ms-editor-squiggler { all: initial; display: block !important; height: 0px !important; width: 0px !important; } 75