`
wutao8818
  • 浏览: 620349 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

script.aculo.us---Effect.Move

    博客分类:
  • js
UP 
阅读更多
This effect moves an element. Effect.MoveBy is older name.

This will move object to corner of the window (x=0; y=0):

new Effect.Move (obj,{ x: 0, y: 0, mode: 'absolute'});


This will move object 30px up and 20px to the right (the default mode is ‘relative’):
new Effect.Move (obj,{ x: 20, y: -30, mode: 'relative'});


http://wiki.script.aculo.us/scriptaculous/show/Effect.Move
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics