標題

2010年11月22日 星期一

LAB 32

1. Open KompoZer
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.
如下面兩圖



LAB 31

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


如下面兩圖

1.
















2.

2010年11月8日 星期一

LAB 30


1. 進入你的部落格,登入,選擇自訂
2. 新增小工具
3. 選取
HTML/JavaScript
4. 撰寫或貼上所需連結(範例)
如下圖


LAB 29

Hand code a HTML or use KompoZer to edit an HTML so that the webpage can send a request to Google like
http://maps.google.com/maps?q=24.9586,+121.24114

Use Form CGI that includes action, input, and submit.
Try a few different coordinates.


將URL改成GOOLE的MAP網址

















  找尋中原大學的座標


















中原大學MAP

















其他地區MAP

LAB 28

"logic will get you from A to B - imagination will take you anywhere"

How to use Form to invoke a remote service through CGI.

1. Copy the search box of this search page,
inlcuding radio buttons, text input, and submit button.
2. Open your KompoZer HTML editor.
3. Open a new empty HTML file.
4. Paste the search box into this new file.

5. Use KompoZer to add a Form to this search box. Do not hand code the HTML. Just fill the blank in the Form dialog.

6. In the form dialog, set Action="http://google.com/search" and name of Form as "f" and method as "get"
(See Hint if it does not work.)
7. Save your file on your computer. Run your HTML by Firefox. What do you get?

8. Set method as "post"
9. Run your HTML by Firefox. What do you get?


當METHOD是GET的時候,網頁在火狐中可以搜尋,如下面兩圖。



































當METHOD改為POST的時候,將會搜索失敗產生ERROR,如下面兩圖。



2010年11月1日 星期一

LAB 27

建立你的行事曆,並與學校行事曆合併
Google日曆-中原大學行事曆-html版本<http://www.google.com/calendar/embed?src=sth4g0ns7lj48crs0gsm3ekuns%4...>
進入後按右下角+Google日曆即可訂閱


訂閱結合中原大學的活動事項之後的月曆圖如下


LAB 26

部落格與相本的結合運用。透過部落格分享你的照片集,省去傳送大量照片的缺點,自由書寫照片中的故事。

Create a slide show of your album. Embed the album in your blog.

Hint: 挪威奧斯陸之行


















MSN首頁


















YAGOO 的首頁



LAB 25

For housing services, compare the following two websites
http://www.housingmaps.com

http://www.7house.com.tw

List the differences in the user interface design and usability. Make comments
by your use experiences.


比較: 美感,直覺性,流暢,預期反應

對於7HOUSE和HOUSINGMAPS

1.美感:我個人偏好7HOUSE的感覺,一點進去就有很多華麗的圖片給人參考,感覺看網頁的心情也會比較愉 悅。

2.直覺性:HOUSINGMAPS的直覺性就大於7HOUSE很多很多,比起華麗但單一網頁制的方式,我到覺得簡單廣泛的觀察更友直學性。

3.流暢:對於流暢,莫過於HOUSINGMAPS的簡單好用的操作,只要按幾下,上百甚至上千的資料通通都會出現在你眼前,這是我覺得HOUSINGMAPS勝過7HOUSE的地方。

4.預期反應:我會覺得,7HOUSE預期的反應會勝過HOUSINGMAPS,主要原因是,7HOUSE有交代週遭的交通狀況跟路況,這點就很吸引大部分的人去使用,所以我覺得這部份是HOUSINGMAPS該去修改的地方。

LAB 24

1. Upload a sample ppt to Google Docs.
2. Publish the uploaded ppt.
3. Embed the online ppt to your blog.

The reason to do so is that the readers don't have to have ppt to view your presentation. For example, some users work with Linux or Unix, and others work with MacOS. They will appreciate you for doing so.

範例:
如何活用 Gmail 工作坊