let menuCatId=parseInt("877");
Jetzt bis zu 30% sparen! Aktion endet in:

00d 00h 00m 00s
// ------------------------------- // Configuration Variables // ------------------------------- // Initial default end date (only used once) var defaultEndDateStr = "2025-04-22 12:00:00"; // Set the countdown message text var countdownText = "Oster-Deal: Bis zu 30% Rabatt! Nur noch: "; // Function to parse the given end date function getEndDate(dateStr) { return new Date(dateStr.replace(" ", "T")); } // Function to add a number of hours to a date string function addHoursToDate(dateStr, hours) { let date = new Date(dateStr.replace(" ", "T")); // Ensure compatibility if (isNaN(date.getTime())) { console.error("Invalid date format. Use 'YYYY-MM-DD HH:MM:SS'"); return null; } date.setHours(date.getHours() + hours); // Add hours return date.toISOString().replace("T", " ").slice(0, 19); // Return in the "YYYY-MM-DD HH:MM:SS" format } // Function to update the countdown function updateCountdown() { document.getElementById("countdown-text").innerHTML = countdownText; // Parse initial end date let countdownDate = getEndDate(defaultEndDateStr).getTime(); // Check on load if already expired — extend once immediately if (countdownDate - Date.now() < 0) { defaultEndDateStr = addHoursToDate(defaultEndDateStr, 50); countdownDate = getEndDate(defaultEndDateStr).getTime(); } setInterval(function () { const now = new Date().getTime(); let distance = countdownDate - now; // If expired, extend by 49 hours and skip rendering this tick if (distance < 0) { defaultEndDateStr = addHoursToDate(defaultEndDateStr, 50); countdownDate = getEndDate(defaultEndDateStr).getTime(); return; // :achteckiges_schild: Don't render this frame to avoid negative numbers } // Time calculations const days = Math.floor(distance / (1000 * 60 * 60 * 24)); const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); const seconds = Math.floor((distance % (1000 * 60)) / 1000); // Render countdown document.getElementById("days").innerHTML = days < 10 ? "0" + days : days; document.getElementById("hours").innerHTML = hours < 10 ? "0" + hours : hours; document.getElementById("minutes").innerHTML = minutes < 10 ? "0" + minutes : minutes; document.getElementById("seconds").innerHTML = seconds < 10 ? "0" + seconds : seconds; }, 1000); } // Initialize the countdown updateCountdown();

Fenster Konfigurator

Fenster konfigurieren: Gestalten Sie Ihr Wunschfenster in wenigen Schritten

Im Fenster Konfigurator konfigurieren Sie Fenster, die an Ihre Wünsche angepasst sind. Erstellen Sie Ihr individuelles Fensterdesign und werden Sie zum Designer. Hier gestalten und planen Sie selbst Ihre Fenster vom Hersteller Drutex mit einer großen Farb- und Dekorauswahl. In unserem einfachen Gestaltungsprozess können Sie eine maßgeschneiderte Lösung aus Herstellung mit modernster Produktionstechnologie und umfassender Qualitätskontrolle millimetergenau planen.

{ "@context": "https://schema.org/", "@type": "Product", "name": "Fenster (Kunststoff/PVC) Konfigurator" , "image": "https://cdn03.plentymarkets.com/xbqx3akj5qia/frontend/img/hersteller/aluplast/Aluplast-IDEAL-4000-Soft-Line.webp" , "aggregateRating": { "@type": "AggregateRating", "name": "Sind diese Informationen hilfreich? (Fenster (Kunststoff/PVC) Konfigurator)", "ratingValue": "4.91", "bestRating": "5", "worstRating": "1", "ratingCount": "927" } }
var _confpath="/confapp/Drutex/PVC-Fenster-bestellen-drutex/"; var _confadr="https://conf.fenstermaxx24.com"; var _confref="aluplast-fenster"; var _confhash=window.location.hash;
var iframe = document.getElementById('theframe'); iframe.onload = function () { var preloader = document.getElementsByClassName('konf-preloader')[0]; preloader.style.display = 'none'; }