Hi, i am trying to scale up an HTML element, after scaling it down
with Effect.Scale. The problem is that this is animated ONLY on scale
down. when scaling up, the resize is produced instantly, without any
animation, while scaling down occurs at it should.
So roughly the steps would be:

// shrinking myElement to 0 height
new Effect.Scale(myElement, 0, {duration:0.2, scaleX:false,
scaleContent:false} );
//restoring myElement to original size
new Effect.Scale(myElement, 100, {duration:0.2, scaleX:false,
scaleContent:false, scaleMode:{originalHeight:200} } );

Does anyone have any idea why the scaling up animation does not occur?


You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to