joyride icon indicating copy to clipboard operation
joyride copied to clipboard

Joyride Tour guide doesn't explain autoStart:true

Open ddgromit opened this issue 11 years ago • 9 comments

Following the zurb.com guide steps that this repo references leads to the plugin not starting, because it doesn't mention any kind of start method or using the autoStart:true.

It would be very helpful for first-timers trying to integrate this plugin if either that guide was updated to include autoStart:true, or the readme informed the user about this requirement.

ddgromit avatar Aug 14 '13 16:08 ddgromit

Oh god, I've been trying to figure this out for an hour. Thanks.

$('#walk-through').joyride({
    autoStart: true
});

serkanyersen avatar Sep 06 '13 19:09 serkanyersen

Along these lines, the README says "Comprehensive documentation is on the website listed above." There is a guide, but their version of comprehensive is similar to the NSA's version of online privacy (not there).

explorigin avatar Nov 12 '13 14:11 explorigin

+1 the most important instruction is missing

j0hnsmith avatar Apr 15 '14 15:04 j0hnsmith

+1 most important instruction... although is it just me or does it seem that Joyride has been left to die on it's own and that it is now only in the Foundation 5 framework. It doesn't seem like there have been any commits since Foundation 5 came out.

EdwardHinkle avatar Apr 29 '14 20:04 EdwardHinkle

I just spent hours on this. PLEASE update your documentation.

http://zurb.com/playground/jquery-joyride-feature-tour-plugin

bearded-avenger avatar Jul 18 '14 13:07 bearded-avenger

Using Foundation 5, something I found is that you can use something like

$(document).foundation({
    topbar: {...},
    joyride: 'start',
    ...
})

Though I'm not sure how to pass the object of options to it. So that may have to be defined in the data-options

KnightYoshi avatar Feb 25 '15 17:02 KnightYoshi

+1 Doc instruction update needed.

btbjosh avatar Mar 04 '15 21:03 btbjosh

Yes clearly they don't care about this glaring hole in the documentation. I wonder if there is another way to start the tour without autostart

bencappello avatar Apr 23 '15 21:04 bencappello

I don't know if this is the "right" way of doing things but if you do the following it might work (mine is at least).

On window load:

$(window).load(function() {
  $("#joyRideTipContent").joyride({
    autoStart : false
  });
});

Then when you want to kick off the joyride you simply call it like this:

$("#my_button").click( function(){
   $("#joyRideTipContent").joyride({
      modal:true,
      expose: true
  });
});

Hope that helps.

filtoid avatar Aug 06 '15 13:08 filtoid