`
eimhee
  • 浏览: 2112307 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Animation/Fx - Ext JS

阅读更多
I originally had:

var actor = new Ext.Actor('lgform', null, true);
actor.moveIn('left', null, 1);
actor.play();
How would you go about this now?

Thanks for any help!
Reply With Quote
  #2  
Old 02-19-2007, 10:27 PM
Default

Actually moveIn/moveOut probably should be ported over. I liked those two.

If you haven't used alignTo before, it is a great function. alignTo received major upgrades in the release, thanks to the help of bmoeskau (Brian). Check out the docs for it.

This would probably work for you:

el.alignTo(document, 'c-l').show().alignTo(document, 'c-c', null, true);

Obviously not quite as clean but more powerful (can moveIn from corners). I will plan on adding short handed moveIn/Out functions.
Reply With Quote
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics