Hey!
I'm a Mootools-beginner and I want to delay the morph funktion. I've
tried it with "setTimeout" but nothing happend.
My question: How can I delay the morph in the second part of the
following example?
window.addEvent('domready', function() {
$('handone').addEvent('mouseover', function(e) {
e.stop();
// zu css class handchanged wechseln
this.morph('.handchanged');
});
$('handone').addEvent('mouseleave', function(e) {
e.stop();
// zu css div.handnorm zurück wechseln
this.morph('div.handnorm');
});
$('handone').addEvent('click', function(e) {
e.stop();
// Bei click zu css display:none wechseln.
this.tween('display', 'none');
});
});