I'm still struggling with the Tips - updated the latest source from
github - one thing that's confusing is the documentation: the title
options is supposed to be used for the title - however, hover over my
links shows the content or the rel tag - if I change it to text, I get
the correct text, at least in Safari - Firefox still fails - I get the
tip text of the first link and then it just keeps that text - it's not
updated.
Here again is my code:
setTips: function() {
var els = $$('.ellipsis a');
if (els.length == 0) return false;
var trim = 1;
new Tips(els, {
text: function(item) {
var str = item.get('title');
var reg = /_/g;
str = str.substring(str.lastIndexOf('/')+trim);
return str.replace(reg,' ').toUpperCase();
}
});
}
I must be missing something?