Show a scrolling text marquee that reacts to real-time events.
Intermediate
Last updated: 13 Nov 2025
In this example, we show a scrolling text marquee. When a customer purchases tickets to an event, the marquee text updates for all site visitors. After a short delay, it returns to its original message.
We added the following to our site:
The code in this file listens for real-time messages from a channel. When a message is received, it temporarily changes the text marquee.
In this file, we:
The code in this file defines security rules for realtime channels.
In this file, we:
The code in this file listens for live order confirmations from Wix Events, and publishes a message on the new-ticket-purchases channel when a ticket is purchased.
In this file, we:
Join the Wix Studio community on Discord, where experienced developers and fellow creators come together to share tips, troubleshoot issues, and collaborate.
Building a coded solution on your own can be challenging. Let an experienced Wix developer build it for you, so you can keep working on your site or business. Visit the Wix Marketplace to find a trusted developer.