joyride icon indicating copy to clipboard operation
joyride copied to clipboard

Ability to initiate first tour step manually after page load

Open blanchardjeremy opened this issue 12 years ago • 4 comments

I would love to have a way to only start the tour when a user takes a specific action. Right now, it starts automatically on page load. And if I just wait to call .joyride() until later, all of the <ol> items show up in the DOM.

I hacked around this by setting the <ol> to display:none but it seems like there could be an "autoStart: false" option or the like.

blanchardjeremy avatar Feb 05 '13 17:02 blanchardjeremy

:+1:

andrew-kzoo avatar Feb 05 '13 17:02 andrew-kzoo

Wowza. Great one, Andrew! Thanks.

blanchardjeremy avatar Feb 06 '13 06:02 blanchardjeremy

I'm confused. The css that comes with the source includes a class "joyRideTipContent" that is meant to be added to your <ol>. All it does it keep the <ol> hidden. You don't have to call .joyride() at page load, you can tie it to another click event.

ehudokai avatar Feb 21 '13 00:02 ehudokai

I'm confused. Right now I can set the tour to start on page load, but I can't figure out how to start it manually (i.e. when a button or link is clicked).

DavidGagne avatar May 16 '13 23:05 DavidGagne