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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top