Mobile Filter for Archive Pages with Button

document.addEventListener(“DOMContentLoaded”, function () { const toggleBtn = document.querySelector(“.mobile-filter-toggle a, .mobile-filter-toggle button”); const filterPanel = document.getElementById(“mobile-filters”); if (toggleBtn && filterPanel) { const iconOn = toggleBtn.querySelector(“.toggle-icon-on”); const iconOff = toggleBtn.querySelector(“.toggle-icon-off”); // Toggle panel open/close toggleBtn.addEventListener(“click”, function (e) { e.preventDefault(); e.stopPropagation(); filterPanel.classList.toggle(“open”); const…Continue reading

LPSPURCHASE 29-30-33-34 JSCRIPT 08252025 – Copy

/* LPS Boot Loader — routes to correct LPSE module and hides NOI unless commercial (final) */ (function(){ ‘use strict’; if (window.__lpsBootRun) return; window.__lpsBootRun = true; // ———- CONFIG ———- var CONFIG = { PREFIX: ‘https://lpslama.com/wp-content/themes/astra-child/assets/js/’, DATASET_SEF: ‘miamire’, // Bridge…Continue reading

WordPress Database Table – Bestandskundenprocess Form – Dynamic Fetch, Table & Dropdown Logic – JavaScript

/** * ============================================================================ * CLIENT-SIDE SCRIPT FOR FLUENT FORM AUTOFILL (GROUNDHOGG WP DB VERSION) * ============================================================================ * @author Sumaiya Akter , Anytype Doc: anytype://object?objectId=bafyreigxqhjk7ppkjagyonytgieix5qxkkbhpmned743amh23csyrab6s4&spaceId=bafyreih4bocrmskuomcrks3sjwpnzxpbxvxwgto23vof3umg2fywdqzjmy.31bq39w6q8ru7&cid=bafybeifc55atash7zlqcjd3fv425bkwl7z5zstcxdilct5hstlng73xwci&key=6kKA3QiwnksqLbpcJ4T6UhmQ5BHzgJUfbpn1QLnkv5Lv * @description This script runs in the user’s browser. It checks for specific * URL parameters,…Continue reading

JetFormBuilder – Progress Clickable

window?.JetPlugins?.hooks?.addAction( ‘jet.fb.multistep.init’, ‘jet-form-builder/multi-step/clickable-steps’, function( multistep ) { const rootNode = multistep.getScopeNode(); const globalProgress = rootNode.querySelector( ‘.jet-form-builder-progress-pages–global’, ); function initGlobalProgress() { if ( !globalProgress ) { return; } const items = globalProgress.querySelectorAll( ‘.jet-form-builder-progress-pages__item–wrapper’, ); for ( const item of items )…Continue reading

Checkout Page – Expand Cart Summary

document.addEventListener(“DOMContentLoaded”, function () { const observer = new MutationObserver(function () { const toggleButton = document.querySelector(“.wc-block-components-checkout-order-summary__title”); if (toggleButton && toggleButton.getAttribute(“aria-expanded”) === “false”) { toggleButton.click(); observer.disconnect(); // stop observing once it’s expanded } }); observer.observe(document.body, { childList: true, subtree: true }); });Continue reading

JetFormBuilder – Skip pages that have no visible inputs

document.addEventListener( ‘DOMContentLoaded’, function() { const { addAction, } = window.JetPlugins.hooks; addAction( ‘jet.fb.observe.after’, ‘skipHiddenPages’, hasConditionals, 10 ); addAction( ‘jet.fb.observe.after’, ‘skipHiddenPages’, setWatchers, 30 ); function hasConditionals( observable ) { observable.jfbcHasConditionals = !!observable.rootNode.querySelectorAll( ‘[data-jfb-conditional][data-jfb-func=”show”], [data-jfb-conditional][data-jfb-func=”hide”]’ ).length; } function setWatchers( observable ) { if…Continue reading

JetFormbuilder – Media field text after upload v2

document.addEventListener(‘DOMContentLoaded’, function () { const { addAction } = window.JetPlugins.hooks; const textChoose = ‘Choose File’; const textUpload = ‘File Added’; const textNone = ”; function getFileNames(fileList) { if (!fileList.length) return ”; return Array.from(fileList).map(file => file.name).join(‘, ‘); } function triggerInput(el, value)…Continue reading

Mobile Menu Toggle Script

document.addEventListener(‘DOMContentLoaded’, function() { const menuToggle = document.querySelector(‘.menu-toggle’); // Check if the toggle button exists if (menuToggle) { menuToggle.addEventListener(‘click’, function() { // Toggle a class on the element document.body.classList.toggle(‘nav-is-open’); }); } });Continue reading

NON-MLS JS 08212025 – Copy

Go to Calculator Tell us about you Do you have a listing agreement for this property with another agent that is not with Luxury Property Solutions, LLC? Yes No Do you already have an agreement in place with that other…Continue reading