/** * This script handles the rotation of the announcement messages. * It finds all elements with the 'message' class and cycles * the 'active' and 'fadeInDown' classes every 4 seconds. */ document.addEventListener("DOMContentLoaded", function() { const messages = document.querySelectorAll('.message'); let currentIndex = 0; function rotateMessages() { // Remove active state from current message messages[currentIndex].classList.remove('active', 'fadeInDown'); // Move to next message, or loop back to start currentIndex = (currentIndex + 1) % messages.length; // Add classes to trigger the CSS animation on the next message messages[currentIndex].classList.add('active', 'fadeInDown'); } // Initialize the first message messages[0].classList.add('active', 'fadeInDown'); // Change message every 4000ms (4 seconds) setInterval(rotateMessages, 4000); });
Order ready-to-ship products today or send us your specs for a custom build.
Made in the Midwest since 1984. Custom pedestals, fixtures and counters.
Lead times vary by product. Need it sooner? Call (847) 566-6979.

Pedestals

Showing 1–18 of 42 results

Shop our Outlet

0
0
Your Cart
Your cart is emptyReturn to Shop