The reason your tooltip doesn't appear is because the contents of each tooltip seem to be copied to a separate div and the events associated with it are lost in the process. You can see it well enough, for example. if you check the tooltip using the Chrome developer tools.
So, you will need to create an instance of powerTip2 inside the div # powerTip after the tooltip. You also need unique identifiers for each open tooltip.
JsFiddle example
code:
$('span[data-powertiptarget]').addClass('tooltip'); createPowerTips($('span[data-powertiptarget]'),'powerTip'); function createPowerTips($elems, popupId) { $elems.each( function() { $(this).powerTip( { popupId: popupId, placement: 'ne', mouseOnToPopup: true, smartPlacement: true }).on({ powerTipOpen: function() { createPowerTips( $('#powerTip').find('span[data-powertiptarget]'), 'powerTip2' ); } }); }); }
As you can see in the example, the nested tooltip is not tied to CSS. So you will need to copy all the #powerTip CSS for # powerTip2
Obviously, the plugin was not intended for such use.
Tyron source share