blog.鶯梭庵

二〇〇五年 霜月 廿六日 土曜日

Ajax 勉強中・その1 [/this_blog/ajax]

script.aculo.us の視覚効果で遊んでみた。

OuSaAn

これだけなら簡単にできる。私が書いたコードはこれだけ。


new Effect.Fade('site_title', {

transition: Effect.Transitions.linear,

duration: 5.0,

to: 0.1,

afterFinish: function() {

new Effect.Appear('site_title', {

duration: 1.0,

from: 0.1

});

}

});


視覚効果しか使っていないので、scriptaculous.js を読み込む必要はない。prototype.js と effects.js を読み込めばよい。


2005年12月9日追記 飽きたので (^_^) スクリプトを削除した。


関連記事:

Ajax 勉強中・その2 [/this_blog/ajax]

Ajax 勉強中・その3 [/this_blog/ajax]

[この記事にコメントを書く。] [このカテゴリをまとめて読む。] [最新の記事を読む。]

RSS feed

カテゴリ

[/language] (59)
[/links] (155)
[/mac] (87)
[/music] (31)
[/origami] (274)
[/this_blog/ajax] (7)
[/this_blog/blosxom] (5)
[/this_blog/history] (16)
[/this_blog/perl] (9)

最新記事

折り紙ボウル [/origami]
Apple、2つの大失態 [/mac]
tessellation と corrugation [/origami]
Windows Vista のピントが外れたキャンペーン [/links]
折り紙フォント [/origami]
You may want to [/language]
ポール・ジャクソンさんのインタビュー [/origami]
ジョセフ・ウーさんのインタビュー [/origami]
Skype を使うと盗聴される? [/links]
折り紙をモチーフにしたデザインいろいろ [/origami]
OrigamiUSA コンベンション・フォトレポート [/origami]
地球温暖化の嘘 [/links]
0.999... = 1 という式について [/links]
不切一枚折り畳み椅子 [/origami]
折り紙風?ファッション [/origami]

毎日見るサイト

-> Slashdot
-> Boing Boing
-> ITmedia
-> デイリーポータルZ
-> 新しもの好きのダウンロ〜ド
-> MACお宝鑑定団
-> MLB(日本語)
-> NFL(日本語)
-> GetUpEnglish

毎日聞くラジオ

-> WNYC2
-> BBC Radio 3
-> NHK FM

製作に関わっているサイト

-> 折紙探偵団
-> TidBITS 日本語版
-> 日本 HP

羽鳥 公士郎