Countdown element enhancement

The countdown element could be made more powerful if we could redirect to another page when the countdown is finished, or if we could hide sections on the page and reveal other sections when the countdown is over.

Imagine running a limited time promotion and you want the page to go offline after the countdown and redirect to a “thank you for your interest” page or simply remove the page’s content and replace it with some other content.

1 Like

I guess that the custom message when the countdown is finished has its unique class. In that case, it should be simple to show/hide sections with JS/JQuery based on the fact that the new class is “shown” on the page.

Something along these lines: https://stackoverflow.com/questions/4318391/jquery-hide-class-if-other-class-is-visible-or-shown

Some great ideas here. Regretfully, it would take more than the current front end functionality of the Countdown element to create this securely. Right now the countdown has the “complete message” on standby, so when it is done it will show that in realtime if you are on the page.

A clever person could manipulate the timer and show the message. You’d need to combine it with some kind of server side scheduled content system.

Is that something you guys are open to implementing down the road?

Hi @JvP,

It’s actually possible now with Element Conditions. You can check if today’s date is before/after a specified time. This could be used to hide the countdown and show something else.

Nice, didn’t think of that. I’ll experiment with doing it that way, thanks!

Sounds good!