Fork me on GitHub

Tooltip

  • Apricot
  • Pineapple
  • Kiwi
  • Orange
  • Pomegranate
  • Lime
  • Watermelon
<ul id="myTooltipDelegate">
    <li title="is fine">Apricot</li>
    <li title="is great">Pineapple</li>
    <li title="is green">Kiwi</li>
    <li title="is my favorite">Orange</li>
    <li title="is good">Pomegranate</li>
    <li title="is sour">Lime</li>
    <li title="is tasty">Watermelon</li>
</ul>
YUI().use(
  'aui-tooltip',
  function(Y) {
    new Y.TooltipDelegate(
      {
        trigger: '#myTooltipDelegate li',
        position: 'right'
      }
    );
  }
);