LocationContactPhone
  • StartNEU!
  • Portfolio
  • Kontakt
  • Datenschutz
  • Impressum
  • Menü Menü
Calendar Calendar show Section

Hello

function toggle_section_with_toggle_button(){
?>
<script>
window.addEventListener("DOMContentLoaded", function () { 
  (function($) {
    $('.avia-button-wrap.toggle-button a').addClass('no-scroll');
    $('.avia-button-wrap.toggle-button a').each(function() {
        // Save the original text of the button by addressing only the title span.
        $(this).data('original-text', $(this).find('.avia_iconbox_title').text());
        
        var targetSectionId = $(this).attr('href');
        $(targetSectionId).hide();
        $(targetSectionId).css('min-height', '0');
    });

    // Attach click event directly to the link tag.
    $('.avia-button-wrap.toggle-button a').on('click', function(e) {
        
        e.preventDefault();
        $(this).blur();
        
        var $button = $(this);
        var targetSectionId = $button.attr('href');
        var $targetSection = $(targetSectionId);
        
        if ($targetSection.length) {
            
            // Toggle the section with a callback function
            $targetSection.slideToggle(900, function() {
                
                // This code is executed when the animation is finished.
                if ($(this).is(':visible')) {
                    $button.find('.avia_iconbox_title').text('hide Section');
                } else {
                    $button.find('.avia_iconbox_title').text($button.data('original-text'));
                }
            });
        }
    });
  })(jQuery);
});
</script>
<?php
}
add_action('wp_footer', 'toggle_section_with_toggle_button');
webers-web.info

Webers Webdesign

Kontakt

Status: Geschlossen - öffnet Montag (20.04.) um 08:00 Uhr

Adresse

Webers Webdesign
Ludwig-Schopp-Straße 27
53117 Bonn

Anfahrt

Telefon

+ 49 228 9768293

Anrufen

E-Mail

info@guenterweber.com

E-Mail senden

You are currently viewing a placeholder content from Google Maps. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.

More Information
Accept required service and unblock content
© 2026      Website Design by: Webers Webdesign
    Nach oben scrollen Nach oben scrollen Nach oben scrollen