I want to adjust my start page so that if no action (click) is taken by the user, it automatically changes to a defined next page after 10 seconds.
Can someone help me with the code and instructions?
Thank you
Joerg
I want to adjust my start page so that if no action (click) is taken by the user, it automatically changes to a defined next page after 10 seconds.
Can someone help me with the code and instructions?
Thank you
Joerg
Hey
You can use the setTimeout function in Javascript to accomplish this. But you need to be able to stop the timer as well. So if you add some kind of anchor to the page and if someone moves and that gets into the viewport the timer should be cancelled.
Read more