Ha! That would be too easy - what happens is, the first tween gets
cancelled at the same moment when the second one starts its stuff.

But thanks for trying Rajeev!

Oskar

On Sep 29, 12:01 am, "Rajeev J Sebastian" <[EMAIL PROTECTED]>
wrote:
> This is simple. Use two tweens; delay the opacity tween the appropriate time.
>
> Regards
> Rajeev J Sebastian
>
> On Mon, Sep 29, 2008 at 4:07 AM, Oskar Krawczyk
>
> <[EMAIL PROTECTED]> wrote:
>
> > Hi folks,
>
> > I'm kind of struggling with one idea I have but can't find a solution
> > to make it work. Basically, I have an animation which does two
> > things:
>
> > - resizing a div
> > - changing the opaque mode
>
> > Now the code for doing that couldn't be more straightforward:
>
> > curtain.morph({
> >    width: 600,
> >    opacity: 0.5
> > });
>
> > What I need here is for the *opacity* animation to fire with a delay -
> > let's say in 1/2 of the actual *width* animation.
>
> > Is there a way of achieving this?
>
> > Best,
> > Oskar

Reply via email to