Videoteca – Angeli

// configurazione.js – File di configurazione ANGELI // Indice del capitolo selezionato (0-based) const selectedCapitoloIndex = 1; // Seleziona il capitolo (indice -1 del numero di capitolo) // Array unificato con tutti i dati video e relatore const videoData =…Continue reading

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

Lang

document.addEventListener(“DOMContentLoaded”, function() { const flowchart = document.getElementById(“flowchart”); flowchart.innerHTML = ` How do you plan to use your Lang BBQ Smoker? Residential Competition Commercial What cooking capacity do you need? Small (36” Patio) Large (48” or larger) Back Do you need…Continue reading

GR-Pixel

((e,p,t,s,n,r)=>e.grp||((s=e.grp=function(){s.process?s.process.apply(s,arguments):s.queue.push(arguments)}).queue=[],s.t=+new Date,(n=p.createElement(t)).async=1,n.src=”https://storage.googleapis.com/grpixel/openpixel.min.js”,(r=p.getElementsByTagName(t)[0]).parentNode.insertBefore(n,r)))(window,document,”script”),grp(“init”,”670″);Continue reading

Word Search

document.addEventListener(“DOMContentLoaded”, function () { const words = [“OBEY”, “PAY”, “POP”, “DESIRE”, “CONTROL”, “BELLA”]; const gridSize = 10; const grid = document.getElementById(“wordSearchGrid”); let foundCount = 0; let placedWords = []; let cashSound = document.getElementById(“cashSound”); // ✅ Adds sound effect function generateGrid()…Continue reading

Trigger Variation Image Change After Color Change (WooCommerce)

(function ($) { $(document).ready(function ($) { var variations = JSON.parse( jQuery(“.variations_form”).attr(“data-product_variations”) ); if (variations) { var nthAttributeToSwitchImage = 1; var attributeName = Object.keys( variations[nthAttributeToSwitchImage – 1].attributes )[0]; // jQuery(“[name=” + attributeName + “]”).change(function () { jQuery(“.woocommerce div.product form.cart .variations select”).change(…Continue reading