Hopscotch work well for me in developing tour for my website. I am looking for a way to automatically execute the tour steps with some custom time delay, but didnt' found any API for the same.
Asked
Active
Viewed 339 times
0
-
What types of things have you tried? This is a pretty generic question. – rfornal Dec 19 '14 at 17:40
1 Answers
2
The Hopscotch API provides a nextStep() method which could be called in inside of JavaScript's setInterval() method. Something like this would show the next step every 3 seconds.
setInterval(function() { hopscotch.nextStep() }, 3000);
Here's a working example JSFiddle.

Michael Hommé
- 1,696
- 1
- 14
- 18