the default text is the 'rel' attribute and if that's not defined, the
'href' attribute (else, if neither present, empty). the caption comes from
the 'title'

note that it removes the title attribute in the process to prevent the
default browser-based tip from showing.

I don't know about your issues. can you make a mooshell that demonstrates
the problem?

To download and use the one in trunk, go to github and browse to the file
and save the "raw" version of it. Then just include it after your built
mootools library. this is temporary; just until we release the fix
officially.

On Sat, Nov 7, 2009 at 4:54 PM, mmjaeger <[email protected]> wrote:

>
> Something else I don't understand but maybe that's related to the bug:
> when I hovering over the links, the first time the tip shows the title
> or href of that link - afterwards, the tip is not updated anymore and
> always shows the first text?!
>
> On Nov 7, 4:15 pm, Aaron Newton <[email protected]> wrote:
> > this is a bug that was fixed for 1.2.4.2 but I accidentally reverted it.
> > It's back on -trunk now, so you can download the fix from github. Expect
> > 1.2.4.3 maybe next week.
> >
> >
> >
> > On Sat, Nov 7, 2009 at 4:11 PM, mmjaeger <[email protected]> wrote:
> >
> > > Hello,
> > > I'm getting the following error when hovering over my elements:
> > > b.getParent is not a function
> > > [Break on this error] this.timer=this.hide.delay(this.options....f(!b)
> > > {return;}parentNode=b.getParent();\n
> >
> > > this is the code I use:
> > > setTips: function() {
> > >                var els = $$('.ellipsis a');
> > >                if (els.length < 1) return false;
> >
> > >                new Tips(els, {
> > >                        text: function(item) {
> > >                                var str = item.get('href');
> > >                                str =
> > > str.substring(str.lastIndexOf('/')+12);
> > >                                return str.replace('_',' ');
> > >                        }
> > >                });
> > >        }
> >
> > > Hope somebody discovers what I'm missing
> >
> > > Thank you for your help.
>

Reply via email to