سؤال

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