DJACC CSS
.djacc–sticky.djacc–bottom-right { bottom: 10px; right: 20px; } @media (min-width: 800px) { .djacc–sticky.djacc–bottom-right { bottom: 40px; right: 20px; } }Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
.djacc–sticky.djacc–bottom-right { bottom: 10px; right: 20px; } @media (min-width: 800px) { .djacc–sticky.djacc–bottom-right { bottom: 40px; right: 20px; } }Continue reading
/* Load jQuery for Grocery List Application */ function grocery_list_jquery_loader() { ?>Continue reading
// Carrega a biblioteca Inputmask var script = document.createElement(‘script’); script.src = “https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.8/jquery.inputmask.min.js”; script.onload = function () { aplicarMascaraCPF(); }; document.head.appendChild(script); // Função que aplica a máscara e a validação no campo CPF function aplicarMascaraCPF() { if (typeof jQuery === ‘undefined’…Continue reading
// Carrega a biblioteca Inputmask var script = document.createElement(‘script’); script.src = “https://cdnjs.cloudflare.com/ajax/libs/jquery.inputmask/5.0.8/jquery.inputmask.min.js”; script.onload = function () { aplicarMascaraCPF(); }; document.head.appendChild(script); // Função que aplica a máscara e a validação no campo CPF function aplicarMascaraCPF() { if (typeof jQuery === ‘undefined’…Continue reading
/* Load jQuery for Grocery List Application */ function grocery_list_jquery_loader() { ?>Continue reading
(function() { // Configure these for your website. const containerSelector = ‘body’; // Selector for containers with images const zoomLevel = 2; // Magnification zoom level const glassSize = 100; // Size of the magnifier glass in pixels const borderWidth…Continue reading
// Accessibility Motion Toggle Script // Disables videos, Lottie, parallax, and module-based animations for motion-sensitive users // Add early class to prevent animations from starting before DOMContentLoaded if ( localStorage.getItem(“animationsDisabled”) === “true” || (window.matchMedia(“(prefers-reduced-motion: reduce)”).matches && localStorage.getItem(“animationsDisabled”) === null) )…Continue reading
document.addEventListener(“DOMContentLoaded”, function () { let emailFields = [ document.getElementById(“signup_email”), // Registration form document.getElementById(“billing_email”) // Checkout page ]; emailFields.forEach(function (emailField) { if (emailField) { emailField.addEventListener(“input”, function () { if (emailField.value.includes(“‘”)) { alert(“Error: Email addresses cannot contain apostrophes.”); emailField.value = emailField.value.replace(/’/g, “”);…Continue reading
function toggleVideo() { const video = document.querySelector(‘video’); const playPauseBtn = document.getElementById(‘playPauseBtn’); if (!video || !playPauseBtn) { console.warn(‘Video or button not found’); return; } if (video.paused) { video.play(); playPauseBtn.classList.remove(‘play’); playPauseBtn.setAttribute(‘aria-label’, ‘Pause video’); } else { video.pause(); playPauseBtn.classList.add(‘play’); playPauseBtn.setAttribute(‘aria-label’, ‘Play video’); }…Continue reading
(function() { // Configure these for your website. const containerSelector = ‘body’; // Selector for containers with images const zoomLevel = 2; // Magnification zoom level const glassSize = 100; // Size of the magnifier glass in pixels const borderWidth…Continue reading