Menu icon Foundation
Setting Defaults for Joyride

Hi team! Troy is looking for guidance on settings for Joyride. Let's see if we can help out!

--

I'm using foundation 4 and trying to override default settings for 'modal' and 'expose' for joyride:

$(document).foundation('joyride', 'start');

I have tried added a third parameter in this start call, tried added data-options to the html. Is a simple way do this?
I would like all the steps to be modal like with a faded out background. And would like to be able to control which elements are 'expose'

Any direction would be greatly appreciated.

joyridejsjavascriptsettingsoverridemodalexpose

Hi team! Troy is looking for guidance on settings for Joyride. Let's see if we can help out!

--

I'm using foundation 4 and trying to override default settings for 'modal' and 'expose' for joyride:

$(document).foundation('joyride', 'start');

I have tried added a third parameter in this start call, tried added data-options to the html. Is a simple way do this?
I would like all the steps to be modal like with a faded out background. And would like to be able to control which elements are 'expose'

Any direction would be greatly appreciated.

Jordan Humphreys over 5 years ago

Have you tried setting a global configuration?

$(document).foundation('joyride', {
  expose: true,
  modal: true
});

This should be called before start.