(...talking to myself here...)
I should have checked this first but I see that this issue is not new
and has been brought up and is in the "milestone" for MooTools-More
over at the lighthouse - 
https://mootools.lighthouseapp.com/projects/2706/tickets/30

I have now modified my "more" file to ignore the href attribute though
I realise that this is not the best solution.

Chris

On 2 sep, 19:58, cbolson <[email protected]> wrote:
> I have just taken a closer look at how the Tips() plugin works and it
> actually looks for the "rel" attribute or the "href" attribute (having
> already got the "title" attribute).
> So, a bit of a hack but if I define the "rel" value as the title text
> it works.  Though clearly this is not a very good solution as the
> title text is important as regards SEO etc.
> Of course, I could always modify the Tips() plugin to work as I need
> it....
>
> I think that it would be good if displaying the href (and rel) could
> be defined as options with this plugin.
>
> Chris
>
> Chris
>
> On 2 sep, 19:21, cbolson <[email protected]> wrote:
>
> > Hello,
>
> > I am trying to use Tips() to spice up the tooltips on some links.
> > However the tip is also showing the "href" contents which is not ideal
> > (in my situation)
>
> > I am using this to generate the tips:
>
> > var tip = new Tips($$('.a_tip'), {
> >         className: 'my_tips'
>
> > });
>
> > And the links are like this (ie normal links):
> > <a href="http://www.mootools.net"; class="a_tip" title="This is the
> > title">the link</a>
>
> > The resulting tooltip contains this:
>
> > "This is the titlehttp://www.mootools.net";
>
> > Any tips (pun intended) as to how to just show the "title" attribute
> > contents in the tip?
>
> > Thanks,
> > Chris

Reply via email to