Hi, with some help from other users I am nearly there with this. I want to click a link but delay the page transition until an animation finished.
This code from @samliew is almost there, it delays the transition and goes to the page correctly but it also stops the animation from happening.
Here is my test link with the above code added to Custom code in the footer, as you will see the link delays for 3 seconds before taking the user to the next page, but it stops the animation changing the background colour of the body.
PS: How do you add a code snippet to a post comment?