Use this:
new Effect.Scale(myTop, 0, {
scaleX: false,
scaleFrom: 100,
transition: Effect.Transitions.linear,
afterFinish: function ( effect ) {
effect.element.hide().setStyle({ height: myHeight,
fontSize:
myFontSize });
effect.element.parentNode.appendChild(effect.element.remove());
new Effect.Scale(myTop,100,{
scaleX: false,
scaleFrom: 0,
afterUpdate: function(effect) {
effect.element.show();
}
});
startLoop();
}
});
Note that this does work in Safari, but not FF (but it's probably
easy to fix).
Best,
Thomas
Am 17.07.2007 um 11:28 schrieb Jake:
>
> It seems that the "jitteriness" is at least partially due to being
> vertically centered.
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---