Dynamic Phone Button and Image Box Links
jQuery(document).ready(function ($) { // Get URL parameters var urlParams = new URLSearchParams(window.location.search); // Populate the phone button with the phone number var phoneNumber = urlParams.get(‘phone’); if (phoneNumber) { $(‘.phone-button’).attr(‘href’, ‘tel:’ + phoneNumber); $(‘.phone-button’).text(‘Kunde anrufen (‘ + phoneNumber + ‘)’); }…Continue reading