LinkedInAttic / hopscotch

A framework to make it easy for developers to add product tours to their pages.
Apache License 2.0
4.19k stars 664 forks source link

Basic implementation silently failing #292

Closed cgarveyie closed 8 years ago

cgarveyie commented 8 years ago

I've created two files, simple.html and simple.js which use the basic code from the demo page and which reference the css and js files in the dist directory. It is silently failing. I've added jQuery and have put the hopscotch.startTour call in a $().ready call, just in case it was being executed before hopscotch had been evaluate but that has not helped...Still no error messages.

timlindvall commented 8 years ago

Do you have sample code that demonstrates the issue you're running into? Is it literally the same code from the /demo folder in the repo? Unfortunately, without more details, I'm unsure what the issue could be.

Hopscotch will end the tour when calling startTour if none of the targets for the steps in the tour point to anything on the page. You could try adding an onError callback to your tour to see if it ends up getting called.

I hope this helps!