Also, pass all three values when you call start
Syntax: myFx.start([property,] [from,] to);
Example: myFx.start('height', 2, 5);
You were calling start with myFx.start('height', 5); this made your
animation do strange things when you would first mouseover it.
Fixed MooShell:
http://mootools.net/shell/xG3dp/
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of cbolson
Sent: Thursday, February 18, 2010 3:33 PM
To: MooTools Users
Subject: [Moo] Re: Tween noob questions
I think it is due to the fact that you have it absolutely positioned.
As it is not contained within any parent element that is relatively
positioned, the position is taking from the top of the document. So,
4em is actually higher up than it is now.
Setting it t (eg) 60em would make it slide down (you will need to fix
the mouseout position too)
Chris
On 18 feb, 21:24, Paul Saukas <[email protected]> wrote:
> Ok, I am doing something very wrong here I have to be, Just can not see it
> yet. Simple question why does the gray bar go up not down?
>
> http://mootools.net/shell/G8aRH/
__________ Information from ESET Smart Security, version of virus signature
database 4878 (20100218) __________
The message was checked by ESET Smart Security.
http://www.eset.com
__________ Information from ESET Smart Security, version of virus signature
database 4878 (20100218) __________
The message was checked by ESET Smart Security.
http://www.eset.com