Hi Tero!
I've just swapped tooltip.js 1.2.1 into my code, but the layout property still doesn't seem to work. If I try this:
$('a[rel]').tooltip({
layout: '<div><span></span></div>'
});
I still just get a <div> tooltip, with no nested span.
Appreciate your point about manual tooltips for more complex markup so I might change to that, but the described basic functionality doesn't seem to work here for this property.
Would the following example be reasonable for a future version?
<ul>
<li title="a useful tip">stuff here</li>
<li title="another tip">stuff here</li>
</ul>
<div id="tooltip"><div></div><span></span></div>"
$('li[title]').tooltip({tip: '#tooltip', tipContent: '#tooltip div'});
So the tip property specifies the tip container to be shown/hidden, but I still have custom tip and can specify where the content goes in a new property, the contents being still pulled from the target title attribute.
Thoughts?