joyride
joyride copied to clipboard
Setting per-item options
How do I set a per-item option like nextButton? For example, I would like the final popup to have no button. My code is currently
<li data-id="headerNav1" data-options="nextButton:false">
But this doesn't seem to work. I find that at this point in the code, settings.nextButton is true:
if (settings.nextButton) { ... }
Am I missing something or is this not yet possible?
Thanks
I'm also not able to get the nextButton:false option to work via data-options.
I'm afraid it's a bug related to:
- boolean values (false) inside data-options passed to JavaScript as string values ("false")
- nextButton not being checked for every tip, but globally
as a hotfix i replaced line if (settings.nextButton) { to if (txt!="") { So an empty data-text="" will let the button disapear. Not clean, but it works for me in the meantime.