zurb / joyride

jQuery feature tour plugin.
http://www.zurb.com/playground/jquery-joyride-feature-tour-plugin
1.42k stars 238 forks source link

Pause method #182

Open Basman01 opened 10 years ago

Basman01 commented 10 years ago

Hi everybody,

Is there an option to pause the tour other then pauseAfter ,something like in Pause method instead of pauseAfter #70 ? This would really help me ,because i dynamically make my tour with an editor ,but my problem is that i have multiple iframes on my site .What i want to do is pause one tour in an iframe and continue in the other and then send a resume back so that the first one goes further. Because the menu can change depending on the users settings i can't use pauseAfter cause the index wouldn't be correct

Can there be a pause method ,i was thinking of something like :

  // call this method when you want to pause the tour
  pause : function () {
      methods.un_expose();
      $('.joyride-modal-bg').hide();
      settings.$current_tip.hide();
      settings.paused = true;
  },