JavaScript/Library/script.aculo.us/Effect.Move http://www.ark-web.jp/sandbox/wiki/282.html

JavaScript/Library/script.aculo.us

JavaScript/Library/script.aculo.us/Effect.Move

[edit]

Effect.Move

エレメントを移動します.
Effect.MoveBy は過去の名前です.

[edit]

Example

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'});

参考:Effect.Move

tag: Effects?, JavaScript, Tween?


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2007-11-26 (月) 17:43:36 (5993d)

アークウェブのサービスやソリューションはこちら