• Register
Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes

Hey Justin,

I have manually inserted several jquery animations in document and want some of them to start with delay.

Seems, that standard JS "setTimeout" do not work with IN5 created HTMLs.

Is there any possibility to delay execution of custom inserted JS function in in5 HTMLs?

Actually, I want to delay redirection to external URL after 5 seconds

Thanks in advance, Klemen Lavrih

asked in how_to by (540 points)
edited by
    

1 Answer

0 votes

setTimeout should work as it normally does. It's likely there's an error in the code. Check the console: https://developers.google.com/web/tools/chrome-devtools/console/

answered by (148k points)