Hi,
you can use element Store / Retreive
Take a look at :
* http://mootools.net/docs/Element/Element#Element:store
* http://mootools.net/blog/2008/01/22/whats-new-in-12-element-storage/
Regards.
stratboy a écrit :
Hi! I've got a problem:
- got an element with a morph: this.elem.set('morph',
{ transition:'sine:out' })
- later, set an event: this.elem.get('morph').addEvent
('onComplete',function(){ ... })
- later, I want to change, say, the morph transition, but if I do it
with get or set, morph will instantiate again, and I'll lose the
onComplete event!
So, is there a way to change props like transition and duration
without re-instantiating the fx?
--
Nicolas Trani - web engineer
Weelya - Improve the web
32 rue du faubourg boutonnet
34090 Montpellier
Tel/Fax : 04 67 169 778
http://www.weelya.com
Notre agence sera fermée du 12 au 16 janvier 2009