> > * I realize that I'd be creating this event on every mouseover, but i > wasn't sure if there was an easy way to make it attach just once. Is it as > simple as "mouseover:relay(a):once"? >
yep: http://mootools.net/docs/more/Class/Events.Pseudos#Pseudos:once But the other way to do it would be: ...function(event, link){ var tip = link.retrieve('TheTip'); if (!tip) { link.store('TheTip', new Tips(...)); } tip.show(link); } I misspoke when I said you had to pass the event to it (as an argument); show takes as its argument the element.
