Adresse
Webers Webdesign
Ludwig-Schopp-Straße 27
53117 Bonn
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 Webdesign
Status: Geschlossen - öffnet Montag (04.05.) um 08:00 Uhr
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 InformationSie sehen gerade einen Platzhalterinhalt von Vimeo. Um auf den eigentlichen Inhalt zuzugreifen, klicken Sie auf die Schaltfläche unten. Bitte beachten Sie, dass dabei Daten an Drittanbieter weitergegeben werden.
Mehr InformationenSie sehen gerade einen Platzhalterinhalt von YouTube. Um auf den eigentlichen Inhalt zuzugreifen, klicken Sie auf die Schaltfläche unten. Bitte beachten Sie, dass dabei Daten an Drittanbieter weitergegeben werden.
Mehr Informationen