2009年6月19日 星期五

Homework 6.12.2009 Drag and Drop

1. Go to Laszlo and enter (Laszlo in 10 minutes).
2. Study and play around the "drag-and-drop" example.
3. Use this method to control movie playing as in the previous lab.
4. If you drag and drop the photo to the "play" area, the movie plays.
5. If you drap and drop the photo to the "pause" area, the movie pauses.

Due 6.19.2009

play


pause

Lab Movie Player

1. Go to Laszlo and enter (Laszlo in 10 minutes).
2. Study and play around the "scripting" and "video" examples.
3. Use this script to control movie playing.
4. If you push the "pause" button, the movie pauses.
5. If you push the "resume" button, the movie resumes.

2009年6月12日 星期五

Lab Speed Test

測試中原大學與中央大學對外頻寬速度。

Tool: Speedtest
cycu proxy: proxy.cycu.edu.tw:3128
ncu proxy.csie.ncu.edu.tw:3128

中原大學




中央大學

Homework 6.5.2009

1. Please use the blog clouds to render your own blogs, not others.

Example: 電子三丙 邱拓堯



2. 在你的部落格加上手機版

Example: 手機版

http://www.google.com/gwt/n?u=http://s9526354.blogspot.com/

2009年6月5日 星期五

Lab Form Rewriting

電子系課程

*查詢學年期:


*部別:






註:


1.課程時間沒有輸入時,則會顯示該類別的所有課程

2.課程時間格式(比如: 2-EFG 或 3-C )







Lab Google Analytics

1. Enter Google Analytics
2. Put the code provided by Google Analytics in your own blog.
3. Check the results to see the daily traffic chart, the recent visitors by locations.

Lab blog cloud

Build a blog cloud for your blog.


2009年5月15日 星期五

Lab DOM

[Lab]
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.




Lab Create Image using DOM

1. Open Nvu
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.







2009年5月8日 星期五

Lab XML

1. Register and Download Xray, an XML, XSLT editor and processor.

2. Given the the XML file and XSLT file ,
use Xray to do the transformation of the XML into HTML.

You have to replace [ with <. 3. View the formatted HTML file.




Lab XML (2)

1. Register and Download Xray, an XML, XSLT editor and processor.

2. Given the 

Listing 1. An XML document representing the results of a soccer tournament

Listing 2. A basic style sheet for the soccer results

use the XSLT as in the Listing 2 to transform the XML file as in the Listing 1.
(
archive)

3. View the formatted HTML file.
4. Given the
Listing 1. An XML document representing the results of a soccer tournament
Listing 3. A style sheet that computes team standings


compute the team standings in a table.

5. View the formatted HTML file.





Lab Hand code a form

Hand code a HTML or use Nvu 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.






Lab Form and Action

"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 Nvu HTML editor.
3. Open a new empty HTML file.
4. Paste the search box into this new file.

5. Use Nvu 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?

Homework 5-1-2009

1. 嘗試闖關以下這個遊戲
Place That State Game



2. 建立你的行事曆,並與學校行事曆合併

Google日曆-中原大學行事曆-html版本
進入後按右下角+Google日曆即可訂閱


2009年5月1日 星期五

Lab Mash-up 4

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

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

Hint: 挪威奧斯陸之行
album


Lab Mash-up 3

Maps of the Swine Flu Outbreak - Part 1
Maps of the Swine Flu Outbreak - Part 2
Maps of the Swine Flu Outbreak - Part 3

這些應用的特點是什麼?

ps. More applications of Google Maps

透過google maps標記新流感的散佈與病例
標記的方式各有不同,有的是標示人數,有的則是擴散範圍
各自分享訊息,藉由網路的便利性來迅速取得最新資訊
而不用透過媒體的渲染來了解

Lab Mash-up 2

For housing services, compare the three websites
http://www.housingmaps.com
http://www.urmap.com.tw/asp/kijiji/
http://www.7house.com.tw

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

housingmaps和urmap一樣簡潔,housingmaps可以做註記,這是蠻方便的一項服務。
urmap多了廣告,但是像7house 廣告又太多了 可能畢竟是商業性質網頁的關係。
所以流暢感,housingmaps和urmap比較優,在直覺上我也會選擇2者其中之ㄧ。
我比較常使用urmap,但是想找個漂亮的房子,還是找7house。


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

example: TMM

Lab Mash-up 1

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.

Hint: a sample work


2009年4月28日 星期二

Homework 4-17-2009

用Google查一下網路裡面的你,還有另一個你想查的人。

列出搜尋結果

搜尋自己名字不加其他條件發現很多都不是我XD

廣西黑客,某編輯,翻譯,大學講師

所以用大學和中原來做篩選

GOOGLE自己




GOOGLE同學

2009年4月17日 星期五

Lab Making web pages accessible

1. Use Firefox Accessibility Extension to identify the accessibility failures and warnings in http://google.com
2. Fix the failures you found.

修改前


修改後原始碼(紅框即是新增的語法)


修改後

Lab Access Keys

1. Use Firefox Accessibility Extension to identify the access keys defined in http://www.epa.gov.tw
2. Use GreaseMonkey to detect the access keys defined in http://www.epa.gov.tw
Hint: AccessBar: displays defined accesskeys in a fixed-position bar along the bottom of the window.
3. Are the two results in the above the same?




快捷鍵相同

Lab Firefox Accessibility Extension

Use Firefox Accessibility Extension to check the accessibility of three sites that you visit most.
Report the summary of all the errors and warnings for each site.

滄者極限



自己的部落格



CNN

Lab: Making images accessible

1. Use Nvu or Notepad to edit the following homepage
at http://bloggercamp.blogspot.com/2007/01/2007.html

You can copy and paste the content to your Nvu.

2. Take a look at the HTML 標籤, HTML 原始碼

標籤


原始碼


3. Save your editings and preview your webpage using Firefox

4. Make the webpage accessible by
adding ALT text to the images.

5. Go to the Firefox Add-ons site for Firefox Accessibility Extension

6. Click the "Install now" button on the add-ons website

7. Check whether you can see the ALT text for the images by selecting the "Show Text Equivalent" function.

2009年4月3日 星期五

Lab AccessBar

AccessBar: displays defined accesskeys in a fixed-position bar along the bottom of the window. Added 2005-04-01 (not a joke). Find how many access keys have been defined atwww.ocac.gov.tw www.epa.gov.tw





Continued from 3, use google to find 3 more government sites in Taiwan that enable access keys.

中華民國總統府 :


桃園縣政府 :


桃園縣政府教育處 :


Reference: Dive into Greasemonkey by Mark Pilgrim (free download)
http://dia.z6i.org/ (中文)

Lab: Accessibility in GreaseMonkey

1.Google Search Keys Numbers the results in a Google search page and you can type the corresponding number to follow the link. Updated: 2005-04-26. more



按數字鍵就能連結至相對應網站

2.Google Access Keys Enables navigation through Google search results.



shift+alt+(X(下一頁) or Y(上一頁)) 來跳頁

Lab: more on HTML

Headings
1. Copy and paste the Headings example athttp://www.w3schools.com/html/html_primary.asp
2. Enter http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic
3. What kind of effects can you see?



很明顯看出字型大小不一

Lists
4. Copy and paste the Headings example athttp://www.w3schools.com/html/html_lists.asp
5. Enter http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic
6. What kind of effects can you see?



標記不一樣

Lab HTML

Preparation

1. Using Microsoft Notepad, Copy and paste the HTML example atIntroduction to HTML
2. Save the file as myfile.html
3. Open the file using Firefox.



New editor
4. Enter http://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic
5. Copy and paste the HTML example at Introduction to HTML
6. Verify your results on the screen.


Homework 3-27-2009

Read the following paper.

Steven J. Vaughan-Nichols “Will Mobile Computing’s Future Be Location, Location, Location?” IEEE Computer, February, 2009. pp. 14-17.

Summarize the paper in Chinese.



LBS(Location-Based Services),適地性服務是一種以位置為基礎提供的行動服務,早期主要應用於特定的緊急救援或外勤人員的管控,隨著全球衛星定位系統(GPS)手機及可攜式導航裝置的普及,加上行動網路與GPS結合的輔助式GPS(AGPS),可以提供精確的行動定位功能,逐漸進入大眾消費市場。

LBS的主要應用:尋找鄰近資訊、行人導航、汽車導航、人身安全、人員與車隊管理、社群交友、區域廣告及折價券推播等,GPS導航只是最常見的應用之一。

以上是我找的有關LBS的基本解說,因為原來提供的原文,閱讀上有障礙,所以我上網去搜尋一些有關於LBS的解說,並加上自己心得。

我認為像是有些地區性促進觀光也可以利用LBS,讓民眾在進入該地區時及時收到訊息,以達到宣傳效果。

以我個人經驗,之前在市區逛街時,就曾經收過簡訊,內容是某家店的宣傳廣告,當下,就想起上課介紹過的LBS,加上前些日子看新聞有提到國外開始應用LBS,經過街道時會立即提供每家店的介紹及優惠訊息,不過有人擔心隱私問題,但我認為,只要做好加密動作,應該不會有太大問題,畢竟我覺得,就算有機會外漏資料,也比台灣的詐騙集團要弱的多了。

回到主題,現在新型手機大部分都有GPS,就算沒有GPS,也能利用基地台(Cell-ID 是全球使用的識別碼,每個基地台都有一個唯一的ID)來做定位。

現在不管NOKIA、SONY又或者是GOOGLE,都在積極的開發程式輔助LBS的應用,例如說google map在手機使用上面,雖然導航效果有限,但是在當下需要地圖時,有AGPS輔助下,定位快速,可以馬上知道附近路名,可是在山區就有可能會有誤差了。

在未來跟環境的互動上可以更加密切,例如踏入我們學校,可以收到全人通識活動或表演的訊息,又或者踏入學校圖書館,會通知書籍紀錄等等,行動通訊的功能可以更多樣化,讓手機不再只是聯絡或遊戲的工具,而是更有人性的隨身管家。

2009年3月27日 星期五

Lab Clean Language 2

Based on Lab Clean Language, filter the word "slater".