JS – Ajouter un soin (Supabase)

document.addEventListener(‘DOMContentLoaded’, async () => { const sb = window.supabase; const root = document.querySelector(‘#anm-add-care’); if (!sb || !root) return; // URLs (modifie si besoin) const DASHBOARD_URL = ‘/tableau-de-bord#agenda’; const CREATE_PET_URL = ‘/mon-animours-book’; const elAnimals = root.querySelector(‘#anm-animals’); const elEmpty = root.querySelector(‘#anm-animals-empty’); const…Continue reading

LPSEstimate Only Button 7/17/2025 641PM JAVASCRIPT FOR THE BUTTON

jQuery(function($){ var origin = window.location.origin; var cleanPath = window.location.pathname.replace(/\/$/,”); var targetURL = origin + cleanPath + ‘/L1’; // hide if already on /L1 if ( cleanPath.match(/\/L1$/) ) { $(‘#cma-button’).hide(); return; } $(‘#cma-button’).on(‘click’, function(){ window.location.href = targetURL; }); });Continue reading

Force_Fin_LazyMob

document.addEventListener(“DOMContentLoaded”, function() { document.querySelectorAll(‘img.highfetchprio’).forEach(function(img) { img.classList.remove(‘lazyloaded’, ‘lazyload’); img.removeAttribute(‘data-lazy-src’); img.removeAttribute(‘data-lazy-srcset’); img.removeAttribute(‘data-lazy-sizes’); img.setAttribute(‘loading’, ‘eager’); img.setAttribute(‘fetchpriority’, ‘high’); }); });Continue reading

lokalstolz Form Website

.wrapper-full { display: flex !important; justify-content: center; align-items: center; height: 100vh; padding: 15px; } .wrapper-form { width: 75%; } @media (max-width: 1119px) { .wrapper-form { width: 100%; } } .shortcode { width: 100%; }Continue reading

lokalstolz GravityForms

/* Grundstil für alle Textfelder */ body .gform_wrapper input[type=”text”], body .gform_wrapper input[type=”email”], body .gform_wrapper input[type=”url”], body .gform_wrapper input[type=”tel”], body .gform_wrapper input[type=”number”], body .gform_wrapper input[type=”password”], body .gform_wrapper select, body .gform_wrapper textarea { background: transparent; border: none; border-bottom: 1px solid #dbdbdb; border-radius:…Continue reading