• Join the Best Wordpress and Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!

(Delayed) Redirect to another page after popup-animation

D

donbeechness

New Member
Hi, we would like to animate the transition between pages by clicking on a button on the left of the screen, then using a popup to slide from left to right and then redirect to the next page (see first image, and link).
Elementor2.png

Somehow, the only way to simulate a semi-"delayed" redirect I found, was to use an (invisible) countdown widget.

Elementor1.png


This sort of works, as long as the loading time of the next page is slow, but when I cache the pages, the animation is interrupted at less than halfway (see preliminary mock-up here: box-planungsgesellschaft.de/wordpress/)


Does anyone know a solution for this?

All my attempts to insert a javascript like this (see below, for instance in an html-widget ) failed, since the code seems to be called on load already...

----
<script type="text/JavaScript">


setTimeout("location.href = 'xyz.xzy';", 1500);


</script>
---
As the Script seems to be opened already before the invoking of the popup.

Thanks for helping - Daniel
 

Attachments

  • 1607114220964.png
    1607114220964.png
    54.4 KB · Views: 394
  • 1607114258560.png
    1607114258560.png
    54.4 KB · Views: 351

Latest Resources

Other Elementor Resources

elementor official

Still stuck? Ask the forum

Post your question with a screenshot and a link if you can, and a member will usually reply within a day. Free to join, no sales pitch.

Create a free account
Top