1

I'm using Foundation's Joyride plugin and I can't find the way to position the nub of the tooltip on the left side of it. Hope someone has solved it before.

j0k
  • 22,600
  • 28
  • 79
  • 90
ManelPNavarro
  • 579
  • 7
  • 21

1 Answers1

3

The nub's position can be set in the data-options attribute in the markup or passed in during initialization.

data-options attribute example:

<ol class="joyride-list" data-joyride>
    <li data-id="firstStop" data-text="Next" data-options="nub_position: left;">
        <p>nub_position: left;</p>
    </li>
</ol>

during initialization example:

// Set the default nub_position
$(document).foundation({
      joyride : {nub_position: 'left'}
});

// Start Joyride
$(document).foundation('joyride', 'start');

You can find out more about configuring Joyride at:

If you have any questions let me know.

Adam Huffman
  • 1,031
  • 14
  • 21
  • I'm on Joyride 2.1 and it required me to use this syntax: data-options="tipLocation: top; nubPosition: bottom;" – Rachel Apr 18 '16 at 22:45