2007年6月22日 星期五

Lab Drag-and-Drop by AJAX

1. Go to Laszlo
2. Study and play around the "drag-and-drop" example.
3. Use this method to control music playing of the song "Where to begin".
4. Add the song to the program.
5. Change the photo to the CD title.
6. If you drag and drop the photo to the "play" area, the music plays.
7. If you drap and drop the photo to the "pause" area, the music pauses.

程式碼:


結果:

2007年6月15日 星期五

2007年6月1日 星期五

觀後感

本人姓名: 林鉦凱

http://s9226256.blogspot.com/2007/06/blog-post.html

http://onondessuu-037-cheng.blogspot.com/2007/05/blog-post.html

http://s9326227.blogspot.com/2007/06/blog-post.html

三創競賽觀後感

現場大致分為兩種 , 一種為技術層面的 , 另一種為生活層面的.技術層面的大抵是建立在發明者的專業背景之下 , 來解決生活中的不便 . 例如模型車導航回報 , 作者結合其電子通訊方面的專長 , 利用手邊可取得的資源 , 做出遙控 , 並監測等以往認為只在外星球探勘才有的功能 . 技術層面或許不是人人可以輕鬆做到 , 然而另一方面"其他類" 也就是我所說的生活層面的創意 . 像是結合牙刷及牙膏的發明 , 或許你我在都曾想過這問題 , 但我們卻沒有實際動手去解決這生活中的不便利 . 創意 , 不是一般大眾所想像的這麼困難 . 或許當你在遇到生活中的不便時 , 停下你的腳步 , 細細的思考解決方案 , 下一個生活創意王 . 可能就是你喔!

"Lab DOM and JavaScript"

1. Open NVu
2. Based on the code as in http://www.scottandrew.com/weblog/articles/dom_4 ,
write a code to generate the table of 9*9 products. (九九乘法表)

Hint: The javascript code should be enclosed by script tags.

程式碼





9*9結果

Lab: Create Img using DOM

1. Open Nvu
2. Hand code a javascript that loads an image from Internet based on the DOM model.
3. Use
window.onload to load the image.
4. Use a button to load the image. Try how
onclick works.