-
Posts
10 -
Joined
-
Last visited
Community Answers
-
kika.tuff's post in Add Confetti to a page was marked as the answer
Hey @LukasEriksen! I figured out how to turn off the confetti effect after a certain amount of time. I set mine to turn off after 3 seconds - use the SetTimeOut function, with the command confetti.stop
<script src="https://www.wpromotions.eu/confetti.min.js"></script> <script>confetti.start()</script> <script>setTimeout(function(){confetti.stop();},3000)</script>