From: "Matthew Hazlett" <hazl...@gmail.com>
Date: Wed, 24 Mar 2010 08:37:35 -0400
Local: Wed, Mar 24 2010 8:37 am
Subject: RE: [Moo] Re: Tooltips / JSON Question
Use a tag that exists already like alt.
This is all I can suggest to you, all you have to do is read the <a id="foo" alt="Tennis is fun">Serve</a> Also look here: -----Original Message-----
From: mootools-users@googlegroups.com [mailto:mootools-users@googlegroups.com] On Behalf Of soundseller Hi, <a href="#" class="tips" term="Germany">Germany</a> I thought that according to the docs the above element gets passed as ...onShow: function(tip,el) { function and that I could retrieve it like this: var term = el.getAttribute('term'); But I get an error: Object [object Object] has no method 'getAttribute' So I tried it like this: var term = $(el).getAttribute('term'); Doesn't work either. On Mar 24, 2:50 am, "Matthew Hazlett" <hazl...@gmail.com> wrote: > I'll give you a hint, pass two variables to get_content one is the tip > You can also look at this (they may or may not be what you > -----Original Message----- > [mailto:mootools-users@googlegroups.com] On Behalf Of soundseller > Hi Matthew, > As I pointed out in my first post I want to pass a variable to the > It says in the docs(Yes, I did take a look at them :) "The default > Thats why I thought I could do sth like this: > ...onShow: function(tip,el) { > ...onShow: function(tip,el) { > But that does not work. > On Mar 23, 11:29 pm, "Matthew Hazlett" <hazl...@gmail.com> wrote: > >http://mootools.net/docs/core > > Instead of: > > onShow: function(tip,el) { > > Just use: > > onShow: function(tip,el) { > > -----Original Message----- > > [mailto:mootools-users@googlegroups.com] On Behalf Of soundseller > > Hi Matthew, > >http://mootools.net/shell/RVAeU/6/ > > Hmmm... > > On Mar 23, 10:01 pm, "Matthew Hazlett" <hazl...@gmail.com> wrote: > > > When you hover and show the tool tip you are adding an event to reset > > >http://mootools.net/shell/RVAeU/5/ > > > -----Original Message----- > > > [mailto:mootools-users@googlegroups.com] On Behalf Of soundseller > > > So I tried sth else, which is terrible code, but maybe you can see > > >http://mootools.net/shell/RVAeU/4/ > > > Thnx > > > To unsubscribe from this group, send email to > > To unsubscribe from this group, send email to > To unsubscribe from this group, send email to To unsubscribe from this group, send email to You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||