• Frauenarztpraxis­
    Dr. med. Hei­ke Bahnert

    Her­mann-Hes­se-Stra­ße 38
    75417 Mühlacker

    Tel.: 07041 8185030
    Fax: 07041 8173758
    E‑Mail: info@frauenarztpraxis-bahnert.de
  • Sprech­zei­ten ab 01.01.2026

    Mon­tag 8.00 — 12.00 | 14.00 — 18.00
    Diens­tag8.00 — 12.00
    Mitt­woch8.00 — 12.00 | 14.00 — 17.30
    Don­ners­tag8.00 — 12.00 | 13.00 — 15.30
    Frei­tag8.00 — 12.00
  • Aktu­el­les

    Blei­ben Sie auf dem neu­es­ten Stand. Hier infor­mie­ren wir Sie über Ände­run­gen z.B. unse­re geän­der­ten Sprech­zei­ten im Som­mer, wäh­rend der Herbst­fe­ri­en oder Urlaubs­ver­tre­tun­gen und vie­les mehr. 
    Wei­ter

Herz­lich Will­kom­men bei Ihrer Frau­en­ärz­tin im MGZ

Dr. med. Hei­ke Bahnert

Sehr geehr­te Patientinnen,

herz­lich Will­kom­men auf der Inter­net­sei­te der Frau­en­arzt­pra­xis Dr. med. Hei­ke Bah­nert im Gesund­heits­zen­trum Mühl­acker (MGZ).

Unse­re Pra­xis steht für Ver­trau­en, Indi­vi­dua­li­tät und Inno­va­ti­on. Ver­trau­en ist die Grund­la­ge für eine lang­fris­ti­ge und erfolg­rei­che Arzt-Pati­en­tin-Bezie­hung. Jeder Mensch ist ein eige­nes Indi­vi­du­um mit eige­nen Bedürf­nis­sen, Sor­gen und Lebenserfahrungen.

Ziel mei­ner Behand­lung ist es, die­se auf jede ein­zel­ne Pati­en­tin abzu­stim­men. Ihre Frau­en­ärz­tin Mühl­acker deckt alle Berei­che der klas­si­schen Gynä­ko­lo­gie und Geburts­hil­fe ab. Zu den Schwer­punk­ten mei­ner Pra­xis gehören:

  • Krebs­vor­sor­ge

    Ab dem 20. Lebens­jahr haben Sie ein­mal jähr­lich Anspruch auf die Krebs­vor­sor­ge. Die­se kön­nen Sie ger­ne in unse­rer Pra­xis durch­füh­ren las­sen. Bei Bedarf stem­peln wir Ihnen ger­ne das Bonus­heft ab.

  • Schwan­ge­ren­vor­sor­ge

    Wenn Sie schwan­ger sind, kön­nen Sie ger­ne in unse­rer Pra­xis die Schwan­ger­schafts­vor­sor­ge in Anspruch neh­men. Mit Ein­füh­lungs­ver­mö­gen und moder­nen Gerä­ten über­wa­chen wir sorg­fäl­tig Ihre Schwangerschaft.

  • Kin­der­wunsch

    Ger­ne bera­te ich Sie, was Sie bei Kin­der­wunsch beach­ten soll­ten und wel­che Unter­su­chun­gen im Vor­feld sinn­voll sind.

  • Imp­fun­gen

    Aktu­ell kön­nen Sie in unse­rer Pra­xis die Imp­fung mit BioNTech gegen das Coro­na-Virus durch­füh­ren las­sen. In unse­rer Pra­xis bie­ten wir alle Imp­fun­gen an, die vor und wäh­rend der Schwan­ger­schaft wich­tig sind. Eben­so bie­ten wir den Mäd­chen und jun­gen Frau­en die Imp­fung gegen die huma­nen Papil­lo­ma­vi­ren an.

  • Mäd­chen­sprech­stun­de

    Ger­ne bera­te ich Mäd­chen und jun­ge Frau­en zu allen Fra­gen oder Beschwer­den in Bezug auf den weib­li­chen Kör­per, den Mens­trua­ti­ons­zy­klus und natür­lich auch zum The­ma Verhütung.

  • Ver­hü­tungs­be­ra­tung

    Von Pil­le über hor­mon­freie Ver­hü­tung bis hin zu lang­fris­ti­gen Ver­hü­tungs­me­tho­den bera­te ich Sie ger­ne, bis Sie sich für die pas­sen­de Ver­hü­tungs­me­tho­den in Ihrer Lebens­si­tua­ti­on gefun­den haben.

  • Wech­sel­jah­re

    Die Wech­sel­jah­re erlebt jede Frau indi­vi­du­ell. Ger­ne bespre­che ich mit Ihnen die natür­li­chen Ver­än­de­run­gen in die­ser Lebens­pha­se und bera­te Sie zu mög­li­chen The­ra­pie­mög­lich­kei­ten bei Beschwerden.

  • Tumor­nach­sor­ge

    Die Nach­sor­ge nach Abschluss der The­ra­pie einer Krebs­er­kran­kung füh­re ich nach den all­ge­mei­nen Emp­feh­lun­gen der „Arbeits­ge­mein­schaft für gynä­ko­lo­gi­sche Onko­lo­gie“ durch. Im Vor­der­grund steht die Ver­ar­bei­tung der Erkran­kung und die Rück­kehr in das all­täg­li­che Leben.

  • Zusatz­leis­tun­gen

    Wir bie­ten Ihnen im Rah­men der indi­vi­du­el­len Gesund­heits­leis­tun­gen Ultra­schal­un­ter­su­chun­gen des inne­ren Geni­tales sowie der Brust zur gesetz­li­chen Krebs­vor­sor­ge an. Zusätz­lich kön­nen Sie einen immu­no­lo­gi­schen Stuhl­test zum Aus­schluss von Blut im Stuhl sowie einen Test auf Bla­sen­krebs durch­füh­ren las­sen. Eben­so bie­ten wir Ihnen auf Wunsch die Hor­mon­ana­ly­se, die Abklä­rung bei Haar­aus­fall sowie die Unter­su­chung auf Geschlechts­krank­hei­ten an.

Im Zeit­al­ter der Glo­ba­li­sie­rung und Digi­ta­li­sie­rung kön­nen Infor­ma­tio­nen schnell wei­ter­ge­ge­ben wer­den und unser Zeit­bud­get ist begrenzt. Ich möch­te Sie über die­se Inter­net­sei­te stets auf dem aktu­el­len Stand der Pra­xis hal­ten und Ihnen die schnel­le Kon­takt­auf­nah­me mit der Pra­xis über Tele­fon, E‑Mail und Online-Ter­min­ver­ein­ba­rung anbieten.

Mein Team und ich freu­en uns, Sie ein Stück auf Ihrem Weg beglei­ten zu dürfen.

Herz­lichst Ihre

Unse­re Leis­tun­gen für Sie:

Krebsvorsorge bei Frauenarztpraxis Bahnert in Mühlacker
Krebs­vor­sor­ge
Schwangerschaftsvorsorge bei Frauenarztpraxis Bahnert in Mühlacker
Schwan­ger­schafts­vor­sor­ge
Kinderwunsch bei Frauenarztpraxis Bahnert in Mühlacker
Kin­der­wunsch
Impfungen bei Frauenarztpraxis Bahnert in Mühlacker
Imp­fun­gen
Mädchensprechstunde bei Frauenarztpraxis Bahnert in Mühlacker
Mäd­chen­sprech­stun­de
Verhütungsberatung bei Frauenarztpraxis Bahnert in Mühlacker
Ver­hü­tungs­be­ra­tung
Wechseljahresbeschwerden bei Frauenarztpraxis Bahnert in Mühlacker
Wech­sel­jah­res­be­schwer­den
Tumornachsorge bei Frauenarztpraxis Bahnert in Mühlacker
Tumor­nach­sor­ge
Zusatzleistungen bei Frauenarztpraxis Bahnert in Mühlacker
Zusatz­leis­tun­gen

Rezept­be­stel­lung oder Über­wei­sung, tele­fo­nisch unter 07041/8185030oder per E‑Mail

Schließtage


document.addEventListener('DOMContentLoaded', function() { (function( $ ) { 'use strict'; let pbViewsFlag_2 = true; if ('default' == 'notification') { $(document).find('.ays-pb-modals').prependTo($(document.body)); } else { $(document).find('.ays-pb-modals:not(.ays-pb-modals.ays-pb-notification-modal)').appendTo($(document.body)); } let isMobile = false; let closePopupOverlay = 0; let isPageScrollDisabled = 0; let checkAnimSpeed = 1; let ays_pb_animation_close_speed = $(document).find('#ays_pb_animation_close_speed_2').val(); let ays_pb_effectIn_2 = $(document).find('#ays_pb_modal_animate_in_2').val(); let ays_pb_effectOut_2 = $(document).find('#ays_pb_modal_animate_out_2').val(); if (window.innerWidth < 768) { isMobile = true; closePopupOverlay = 0; isPageScrollDisabled = 0; checkAnimSpeed = 1; ays_pb_animation_close_speed = $(document).find('#ays_pb_animation_close_speed_mobile_2').val(); ays_pb_effectIn_2 = $(document).find('#ays_pb_modal_animate_in_mobile_2').val(); ays_pb_effectOut_2 = $(document).find('#ays_pb_modal_animate_out_mobile_2').val(); } let ays_pb_delayOpen_2 = parseInt($(document).find('.ays_pb_delay_2').val()); let ays_pb_scrollTop_2 = parseInt($(document).find('.ays_pb_scroll_2').val()); if (isMobile) { if (0) { ays_pb_scrollTop_2= parseInt($(document).find('.ays_pb_scroll_mobile_2').val()); } if (0) { ays_pb_delayOpen_2 = parseInt($(document).find('.ays_pb_delay_mobile_2').val()); } } let time_pb_2 = $(document).find('.ays_pb_timer_2 span').data('seconds'), ays_pb_animation_close_seconds = (ays_pb_animation_close_speed / 1000); // Only show immediately for pageLoaded and both trigger types, not for exitIntent let actionType = 'pageLoaded'; if( (actionType == 'pageLoaded' || actionType == 'both') && ays_pb_delayOpen_2 == 0 && ays_pb_scrollTop_2 == 0){ $(document).find('.av_pop_modals_2').css('display','block'); } if (window.innerWidth < 768) { var mobileTimer = +$(document).find('.ays_pb_timer_2 span').attr('data-ays-mobile-seconds'); $(document).find('.ays_pb_timer_2 span').html(mobileTimer); time_pb_2 = mobileTimer; } ays_pb_animation_close_speed = parseFloat(ays_pb_animation_close_speed) - 50; $(document).find('.ays_pb_music_sound').css({'display':'none'}); if(time_pb_2 !== undefined){ if(time_pb_2 !== 0){ // Only run this timer for non-exitIntent triggers let currentActionType = 'pageLoaded'; if(currentActionType != 'exitIntent'){ $(document).find('#ays-pb-modal-checkbox_2').trigger('click'); if(ays_pb_scrollTop_2 == 0){ var ays_pb_flag = true; $(document).find('.ays-pb-modal_2').css({ 'animation-duration': ays_pb_animation_close_seconds + 's' }); let timer_pb_2 = setInterval(function(){ let newTime_pb_2 = time_pb_2--; $(document).find('.ays_pb_timer_2 span').text(newTime_pb_2); if(newTime_pb_2 <= 0){ $(document).find('.ays-pb-modal-close_2').trigger('click'); $(document).find('.ays-pb-modal_2').attr('class', 'ays-pb-modal ays-pb-modal_2 ays-pb-bg-styles_2 ays-pb-border-mobile_2 '+ays_pb_effectOut_2); if(ays_pb_effectOut_2 != 'none'){ setTimeout(function(){ $(document).find('.ays-pb-modal_2').css('display', 'none'); $(document).find('.ays-pb-modal_2').attr('data-ays-flag','true'); }, ays_pb_animation_close_speed); }else{ $(document).find('.ays-pb-modal_2').css('display', 'none'); $(document).find('.ays-pb-modal_2').attr('data-ays-flag','true'); } clearInterval(timer_pb_2); } $(document).find('.ays-pb-modal-close_2').one('click', function(){ if (pbViewsFlag_2) { var pb_id = 2; $.ajax({ url: pbLocalizeObj.ajax, method: 'POST', dataType: 'text', data: { id: pb_id, action: 'ays_increment_pb_views', }, }); pbViewsFlag_2 = false; } $(document).find('.av_pop_modals_2').css('pointer-events', 'none'); $(document).find('.ays-pb-modal_2').attr('class', 'ays-pb-modal ays-pb-modal_2 ays-pb-bg-styles_2 ays-pb-border-mobile_2 '+ays_pb_effectOut_2); $(this).parents('.ays-pb-modals').find('iframe').each(function(){ var key = /https:\/\/www.youtube.com/; var src = $(this).attr('src'); $(this).attr('src', $(this).attr('src')); }); $(this).parents('.ays-pb-modals').find('video.wp-video-shortcode').each(function(){ if(typeof $(this).get(0) != 'undefined'){ if ( ! $(this).get(0).paused ) { $(this).get(0).pause(); } } }); $(this).parents('.ays-pb-modals').find('audio.wp-audio-shortcode').each(function(){ if(typeof $(this).get(0) != 'undefined'){ if ( ! $(this).get(0).paused ) { $(this).get(0).pause(); } } }); var close_sound_src = $(document).find('#ays_pb_close_sound_2').attr('src'); if(checkAnimSpeed && typeof close_sound_src !== 'undefined' && 'off' === 'on'){ if(checkAnimSpeed !== 0){ var playPromise = $(document).find('#ays_pb_close_sound_2').get(0).play(); if (playPromise !== undefined) { playPromise.then(function() { audio.pause(); }).catch(function(error) { }); } } } if(ays_pb_effectOut_2 != 'none'){ setTimeout(function(){ $(document).find('.ays-pb-modal_2').css('display', 'none'); $(document).find('.av_pop_modals_2').css('display', 'none'); $(document).find('.ays-pb-modal_2').attr('data-ays-flag','true'); if($('#ays_pb_close_sound_2').get(0) != undefined){ if(!$('#ays_pb_close_sound_2').get(0).paused){ $(document).find('.ays-pb-modal_2').css('display', 'none'); var audio = $('#ays_pb_close_sound_2').get(0); audio.pause(); audio.currentTime = 0; } } }, ays_pb_animation_close_speed); }else{ $(document).find('.ays-pb-modal_2').css('display', 'none'); $(document).find('.av_pop_modals_2').css('display', 'none'); $(document).find('.ays-pb-modal_2').attr('data-ays-flag','true'); if($('#ays_pb_close_sound_2').get(0) != undefined){ if(!$('#ays_pb_close_sound_2').get(0).paused){ $(document).find('.ays-pb-modal_2').css('display', 'none'); var audio = $('#ays_pb_close_sound_2').get(0); audio.pause(); audio.currentTime = 0; } } } $(document).find('#ays-pb-screen-shade_2').css({'opacity': '0', 'display': 'none'}); clearInterval(timer_pb_2); }); $(document).on('keydown', function(event) { if('1' && ays_pb_flag){ var escClosingPopups = $(document).find('.ays-pb-close-popup-with-esc:visible'); if (event.keyCode == 27) { var topmostPopup = escClosingPopups.last(); topmostPopup.find('.ays-pb-modal-close_2').trigger('click'); } } else { ays_pb_flag = true; } ays_pb_flag = false; }); },1000); if(closePopupOverlay && 'On' == 'On'){ $(document).find('.av_pop_modals_2').on('click', function(e) { var pb_parent = $(this); var pb_div = $(this).find('.ays-pb-modal_2'); if (!pb_div.is(e.target) && pb_div.has(e.target).length === 0){ $(document).find('.ays-pb-modal-close_2').click(); } }); } } } } else { $(document).find('.ays_pb_timer_2').css('display','none'); $(document).find('.ays-pb-modal_2').css({ 'animation-duration': ays_pb_animation_close_seconds + 's' }); $(document).find('.ays-pb-modal-close_2').one('click', function(){ if (pbViewsFlag_2) { var pb_id = 2; $.ajax({ url: pbLocalizeObj.ajax, method: 'POST', dataType: 'text', data: { id: pb_id, action: 'ays_increment_pb_views', }, }); pbViewsFlag_2 = false; } $(document).find('.av_pop_modals_2').css('pointer-events', 'none'); $(document).find('.ays-pb-modal_2').attr('class', 'ays-pb-modal ays-pb-modal_2 ays-pb-bg-styles_2 ays-pb-border-mobile_2 '+ays_pb_effectOut_2); $(this).parents('.ays-pb-modals').find('iframe').each(function(){ var key = /https:\/\/www.youtube.com/; var src = $(this).attr('src'); $(this).attr('src', $(this).attr('src')); }); $(this).parents('.ays-pb-modals').find('video.wp-video-shortcode').each(function(){ if(typeof $(this).get(0) != 'undefined'){ if ( ! $(this).get(0).paused ) { $(this).get(0).pause(); } } }); $(this).parents('.ays-pb-modals').find('audio.wp-audio-shortcode').each(function(){ if(typeof $(this).get(0) != 'undefined'){ if ( ! $(this).get(0).paused ) { $(this).get(0).pause(); } } }); if(ays_pb_effectOut_2 != 'none'){ setTimeout(function(){ $(document).find('.ays-pb-modal_2').css('display', 'none'); $(document).find('.av_pop_modals_2').css('display', 'none'); $(document).find('.ays-pb-modal_2').attr('data-ays-flag','true'); if($('#ays_pb_close_sound_2').get(0) != undefined){ if(!$('#ays_pb_close_sound_2').get(0).paused){ $(document).find('.ays-pb-modal_2').css('display', 'none'); var audio = $('#ays_pb_close_sound_2').get(0); audio.pause(); audio.currentTime = 0; } } }, ays_pb_animation_close_speed); }else{ $(document).find('.ays-pb-modal_2').css('display', 'none'); $(document).find('.av_pop_modals_2').css('display', 'none'); $(document).find('.ays-pb-modal_2').attr('data-ays-flag','true'); if($('#ays_pb_close_sound_2').get(0) != undefined){ if(!$('#ays_pb_close_sound_2').get(0).paused){ $(document).find('.ays-pb-modal_2').css('display', 'none'); var audio = $('#ays_pb_close_sound_2').get(0); audio.pause(); audio.currentTime = 0; } } } $(document).find('#ays-pb-screen-shade_2').css({'opacity': '0', 'display': 'none'}); }); } } let count = 0; if( ays_pb_scrollTop_2 !== 0 ){ $(window).scroll(function() { if(($(this).scrollTop() >= ays_pb_scrollTop_2) && (count === 0)) { count++; if( ays_pb_delayOpen_2 !== 0 ){ $(document).find('.ays-pb-modal_2').css('animation-delay', ays_pb_delayOpen_2/1000); setTimeout(function(){ $(document).find('.av_pop_modals_2').css('display','block'); $(document).find('.ays-pb-modal_2').addClass(ays_pb_effectIn_2); $(document).find('.ays-pb-modal_2').css('display', 'block'); if (window.innerWidth < 768 && $(document).find('#ays-pb-screen-shade_2').attr('data-mobile-overlay') == 'true') { $(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.5'}); } else{ $(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.500000'}); } $(document).find('.ays-pb-modal-check_2').prop('checked', true); }, ays_pb_delayOpen_2); }else{ $(document).find('.av_pop_modals_2').css('display','block'); $(document).find('.ays-pb-modal_2').addClass(ays_pb_effectIn_2); $(document).find('.ays-pb-modal_2').css('display', 'block'); if (window.innerWidth < 768 && $(document).find('#ays-pb-screen-shade_2').attr('data-mobile-overlay') == 'true') { $(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.5'}); } else{ $(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.500000'}); } $(document).find('.ays-pb-modal-check_2').prop('checked', true); } if('false' == 'true' && window.innerWidth < 768){ if(0 != 0 && 'off' != 'on'){ let close_button_delay_for_mobile = 0; if (ays_pb_delayOpen_2 != 0) { close_button_delay_for_mobile += Math.floor(ays_pb_delayOpen_2); } $(document).find('.ays-pb-modal-close_2').css({'display': 'none'}); setTimeout(function(){ $(document).find('.ays-pb-modal-close_2').css({'display': 'block'}); }, close_button_delay_for_mobile ); } } else { if(0 != 0 && 'off' != 'on'){ let close_button_delay = 0; if (ays_pb_delayOpen_2 != 0) { close_button_delay += Math.floor(ays_pb_delayOpen_2); } $(document).find('.ays-pb-modal-close_2').css({'display': 'none'}); setTimeout(function(){ $(document).find('.ays-pb-modal-close_2').css({'display': 'block'}); }, close_button_delay ); } } if(20 != 0){ $(document).find('.ays-pb-modal_2').css({ 'animation-duration': ays_pb_animation_close_seconds + 's' }); let timer_pb_2 = setInterval(function(){ let newTime_pb_2 = time_pb_2--; $(document).find('.ays_pb_timer_2 span').text(newTime_pb_2); if(newTime_pb_2 <= 0){ $(document).find('.ays-pb-modal-close_2').trigger('click'); $(document).find('.ays-pb-modal_2').attr('class', 'ays-pb-modal ays-pb-modal_2 '+ays_pb_effectOut_2); if(ays_pb_effectOut_2 != 'none'){ setTimeout(function(){ $(document).find('.ays-pb-modal_2').css('display', 'none'); $(document).find('.ays-pb-modal_2').attr('data-ays-flag','true'); }, ays_pb_animation_close_speed); }else{ $(document).find('.ays-pb-modal_2').css('display', 'none'); $(document).find('.ays-pb-modal_2').attr('data-ays-flag','true'); } clearInterval(timer_pb_2); } $(document).find('.ays-pb-modal-close_2').one('click', function(){ if (pbViewsFlag_2) { var pb_id = 2; $.ajax({ url: pbLocalizeObj.ajax, method: 'POST', dataType: 'text', data: { id: pb_id, action: 'ays_increment_pb_views', }, }); pbViewsFlag_2 = false; } $(document).find('.av_pop_modals_2').css('pointer-events', 'none'); $(document).find('.ays-pb-modal_2').attr('class', 'ays-pb-modal ays-pb-modal_2 ays-pb-bg-styles_2 ays-pb-border-mobile_2 '+ays_pb_effectOut_2); $(this).parents('.ays-pb-modals').find('iframe').each(function(){ var key = /https:\/\/www.youtube.com/; var src = $(this).attr('src'); $(this).attr('src', $(this).attr('src')); }); $(this).parents('.ays-pb-modals').find('video.wp-video-shortcode').each(function(){ if(typeof $(this).get(0) != 'undefined'){ if ( ! $(this).get(0).paused ) { $(this).get(0).pause(); } } }); $(this).parents('.ays-pb-modals').find('audio.wp-audio-shortcode').each(function(){ if(typeof $(this).get(0) != 'undefined'){ if ( ! $(this).get(0).paused ) { $(this).get(0).pause(); } } }); if(ays_pb_effectOut_2 != 'none'){ setTimeout(function(){ $(document).find('.ays-pb-modal_2').css('display', 'none'); $(document).find('.av_pop_modals_2').css('display', 'none'); $(document).find('.ays-pb-modal_2').attr('data-ays-flag','true'); if($('#ays_pb_close_sound_2').get(0) != undefined){ if(!$('#ays_pb_close_sound_2').get(0).paused){ $(document).find('.ays-pb-modal_2').css('display', 'none'); var audio = $('#ays_pb_close_sound_2').get(0); audio.pause(); audio.currentTime = 0; } } }, ays_pb_animation_close_speed); }else{ $(document).find('.ays-pb-modal_2').css('display', 'none'); $(document).find('.av_pop_modals_2').css('display', 'none'); $(document).find('.ays-pb-modal_2').attr('data-ays-flag','true'); if($('#ays_pb_close_sound_2').get(0) != undefined){ if(!$('#ays_pb_close_sound_2').get(0).paused){ $(document).find('.ays-pb-modal_2').css('display', 'none'); var audio = $('#ays_pb_close_sound_2').get(0); audio.pause(); audio.currentTime = 0; } } } $(document).find('#ays-pb-screen-shade_2').css({'opacity': '0', 'display': 'none'}); clearInterval(timer_pb_2); }); var ays_pb_flag = true; $(document).on('keydown', function(event) { if('1' && ays_pb_flag){ var escClosingPopups = $(document).find('.ays-pb-close-popup-with-esc:visible'); if (event.keyCode == 27) { var topmostPopup = escClosingPopups.last(); topmostPopup.find('.ays-pb-modal-close_2').trigger('click'); ays_pb_flag = false; } } else { ays_pb_flag = true; } }); },1000); } } }); }else{ // Only show automatically for pageLoaded and both trigger types, not for exitIntent let actionType = $(document).find('.ays_pb_abt_2').val(); if(actionType != 'exitIntent'){ if( ays_pb_delayOpen_2 !== 0 ){ $(document).find('.ays-pb-modal_2').css('animation-delay', ays_pb_delayOpen_2/1000); setTimeout(function(){ $(document).find('.av_pop_modals_2').css('display','block'); $(document).find('.ays-pb-modal_2').addClass(ays_pb_effectIn_2); $(document).find('.ays-pb-modal_2').css('display', 'block'); if (window.innerWidth < 768 && $(document).find('#ays-pb-screen-shade_2').attr('data-mobile-overlay') == 'true') { $(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.5'}); } else{ $(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.500000'}); } $(document).find('.ays-pb-modal-check_2').attr('checked', 'checked'); if(isPageScrollDisabled){ $(document).find('body').addClass('pb_disable_scroll_2'); $(document).find('html').removeClass('pb_enable_scroll'); } }, ays_pb_delayOpen_2); } else { if($(document).find('.ays_pb_abt_2').val() != 'clickSelector'){ $(document).find('.av_pop_modals_2').css('display','block'); $(document).find('.ays-pb-modal_2').addClass(ays_pb_effectIn_2); $(document).find('.ays-pb-modal_2').css('display', 'block'); if (window.innerWidth < 768 && $(document).find('#ays-pb-screen-shade_2').attr('data-mobile-overlay') == 'true') { $(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.5'}); } else{ $(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.500000'}); } $(document).find('.ays-pb-modal-check_2').attr('checked', 'checked'); if(isPageScrollDisabled){ $(document).find('body').addClass('pb_disable_scroll_2'); $(document).find('html').addClass('pb_disable_scroll_2'); } } } } } if ('On' != 'On'){ $(document).find('#ays-pb-screen-shade_2').css({'opacity': '0', 'display': 'none !important', 'pointer-events': 'none', 'background': 'none'}); $(document).find('.ays-pb-modal_2').css('pointer-events', 'auto'); $(document).find('.av_pop_modals_2').css('pointer-events','none'); }; if($(document).find('.ays-pb-modals video').hasClass('wp-video-shortcode')){ var videoWidth = $(document).find('.ays-pb-modals video.wp-video-shortcode').attr('width'); var videoHeight = $(document).find('.ays-pb-modals video.wp-video-shortcode').attr('height'); setTimeout(function(){ $(document).find('.ays-pb-modals .wp-video').removeAttr('style'); $(document).find('.ays-pb-modals .mejs-container').removeAttr('style'); $(document).find('.ays-pb-modals video.wp-video-shortcode').removeAttr('style'); $(document).find('.ays-pb-modals .wp-video').css({'width': '100%'}); $(document).find('.ays-pb-modals .mejs-container').css({'width': '100%','height': videoHeight + 'px'}); $(document).find('.ays-pb-modals video.wp-video-shortcode').css({'width': '100%','height': videoHeight + 'px'}); },1000); } if($(document).find('.ays-pb-modals iframe').attr('style') != ''){ setTimeout(function(){ $(document).find('.ays-pb-modals iframe').removeAttr('style'); },500); } // if(20 == 0){ if(closePopupOverlay && 'On' == 'On'){ $(document).find('.av_pop_modals_2').on('click', function(e) { var pb_parent = $(this); var pb_div = $(this).find('.ays-pb-modal_2'); if (!pb_div.is(e.target) && pb_div.has(e.target).length === 0){ $(document).find('.ays-pb-modal-close_2').click(); } }); } var ays_pb_flag = true; $(document).on('keydown', function(event) { if('1' && ays_pb_flag){ var escClosingPopups = $(document).find('.ays-pb-close-popup-with-esc:visible'); if (event.keyCode == 27) { var topmostPopup = escClosingPopups.last(); topmostPopup.find('.ays-pb-modal-close_2').trigger('click'); ays_pb_flag = false; } } else { ays_pb_flag = true; } }); // } if('off' == 'on') { var video = $(document).find('video.wp-video-shortcode'); for (let i = 0; i < video.length; i++) { video[i].addEventListener('ended', function() { if ($(this).next().val() === 'on') { $(this).parents('.ays_video_window').find('.close-image-btn').trigger('click'); } }); } } jQuery(document).on('click', '.ays-pb-modal-close_2', function() { $(document).find('body').removeClass('pb_disable_scroll_2'); $(document).find('html').removeClass('pb_disable_scroll_2'); }); })( jQuery ); });