有些內容使用中英雙語,有些只有英文或中文。歡迎使用與分享任何內容,但先來信告知並標示此部落格為出處。
Some parts use both Chinese and English, but some parts use only one language. Feel free to share, but please contact me first and list this blog as your reference.

2014年4月13日 星期日

[Javascript] 舞動你的名字! Animate Your Name!

Rock your name! 快點進來看! Come inside!

另一個 Codecademy 的有趣主題!
It's another interesting topic in Codecademy.

Animate Your Name!

使用 Javascript 讓字能有趣的晃來晃去~
就像上面這樣XD
Use Javascript to shake words. Just like above! XD

這邊是原作者的教學,我並不是原作!
完整的分享(檔案、圖片、程式)請在這邊下載!
There's the original source, I am not the author.
Please download the complete files, pictures and programs from HERE.


需要一個 html 跟四個 javascript 檔案~
要是不想詳細看內容的話,用下面兩個檔案就好! 
另外三個javascript檔可以從html裡的的網址進去看~ (<script>...)

這邊是 Source code 原始碼! 第一個是Html
It's the source code, and the first one is Html file.

這個是主要 javscript 檔 This is the main javascript.


If you want to use (copy, paste or quote) my original article, please contact me through email (autek.roy@gmail.com). If there is any mistake or comment, please let me know. :D

如要使用(複製貼上或轉載)作者原創文章,請來信跟我聯絡 (autek.roy@gmail.com)。如果有發現任何的錯誤與建議請留言或跟我連絡。 : )

沒有留言:

張貼留言

請留下您的任何想法或建議!
Please leave any thought or comment!