WPBakery Collapse All Rows

(function($) { ‘use strict’; /** * WP Bakery – Collapse / Expand All Rows (v3) * Fixed: injects buttons into the correct visible navbar list position * Fixed: iterates ROWS not individual toggles (avoids multi-click cancellation) */ function getFirstToggle(rowEl) {…Continue reading

2026 Givelos Give Back

window.bboxInit = function () { bbox.showForm(‘2952a4ba-be77-4303-bea9-bcb849127865’); }; (function () { var e = document.createElement(‘script’); e.async = true; e.src = ‘https://bbox.blackbaudhosting.com/webforms/bbox-min.js’; document.getElementsByTagName(‘head’)[0].appendChild(e); } ());Continue reading

in-app-messages

(function () { const KEY = ‘inAppMessageAutoOpenCount’; const MAX_RUNS = 3; // The real clickable element (Elementor action link) const ANCHOR_SELECTOR = ‘#inAppMessageButton a[href*=”elementor-action”]’; // Safe storage (handles iOS Safari Private Mode quirks) const storage = (() => { try…Continue reading

Property Type Conditional Search Fields

jQuery(document).ready(function($) { // ============================================ // FIELD VISIBILITY BASED ON PROPERTY TYPE // ============================================ // All conditional field labels (must match your “Label on Front End” exactly) var allConditionalFields = [ ‘BHK Type’, ‘Furnished Status’, ‘Status’, ‘Min Area (sqft)’, ‘Max Area…Continue reading

ANDRITZ Navigation Panels

document.addEventListener(“DOMContentLoaded”, function () { const triggers = document.querySelectorAll(“.bp-andritz-utility”); const panels = document.querySelectorAll(“.bp-andritz-panel”); const closes = document.querySelectorAll(“.bp-andritz-close”); const backs = document.querySelectorAll(“.bp-andritz-back”); function closeAllPanels(){ panels.forEach(panel => panel.classList.remove(“bp-open”)); document.body.classList.remove(“bp-andritz-active”); } triggers.forEach(trigger=>{ trigger.addEventListener(“click”,function(){ const target = document.getElementById(this.dataset.target); const isOpen = target && target.classList.contains(“bp-open”); closeAllPanels();…Continue reading

VWOTG Trophy Frontend JS

document.addEventListener(‘wpformsReady’, function() { const trophyFieldIds = [20,68,74,53,70,75,54,69,76,55,71,77,66,72,78]; function updateTrophyState() { let remainingCount = 0; trophyFieldIds.forEach(function(fieldId) { const select = document.querySelector(‘#wpforms-40473-field_’ + fieldId); if (!select) return; Array.from(select.options).forEach(function(opt) { const label = opt.textContent || ”; const isUnavailable = label.includes(‘— Unavailable’); if (isUnavailable)…Continue reading

RD Theme Button Smooth Anchor Scroll without Reload

document.addEventListener(‘click’, function(e) { var trigger = e.target.closest(‘[data-rd-scroll-target]’); var targetId, target, headerRoot, headerNodes, i, node, style, rect, headerOffset, targetY; if (!trigger) return; targetId = trigger.getAttribute(‘data-rd-scroll-target’); target = document.getElementById(targetId); if (!target) return; e.preventDefault(); headerOffset = 0; headerRoot = document.querySelector(‘.fusion-tb-header’); if (headerRoot) {…Continue reading

Hide RD Theme Woo Additional Order Info Wrapping Column when No Additional Order Info Present

(function () { function rdToggleAdditionalOrderInfoColumn() { var container = document.getElementById(‘rd-additional-order-info’); if (!container) { return; } if (!container.querySelector(‘.awb-woo-order-additional-info’)) { container.style.display = ‘none’; } } if (document.readyState === ‘loading’) { document.addEventListener(‘DOMContentLoaded’, rdToggleAdditionalOrderInfoColumn); } else { rdToggleAdditionalOrderInfoColumn(); } })();Continue reading

Google Tag Manager – Head

(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’: new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src= ‘https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXXXXX’+dl;f.parentNode.insertBefore(j,f); })(window,document,’script’,’dataLayer’,’GTM-XXXXXXXXXX’);Continue reading