2011年5月30日 星期一

lab37

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.

answer:



answer:



lab36


1. Register and Download Xray, an XML, XSLT editor and processor. (安裝X-Ray需要權限)


2. Before you do this lab,all the first you must know is
what is XML?
what is XSLT?
please write down your answer.

3. Given the the XML file and XSLT file ,
use Xray to do the transformation of the XML into HTML.
You have to replace [ with <.

4. View the formatted HTML file.

answer:







2011年5月23日 星期一

lab35




lab34









Lab 34 Create Image using DOM

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.

answer:
程式碼




2011年5月16日 星期一

lab33




Lab 33 Hand code a form

Before you do this lab, you must understand what is CGI(Common Gateway Interface) and Form.
1. So please search the answer and post your opinion in your blog.
2. 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.
answer:
1.
2.
3.

lab32


Lab 32 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 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?
answer:



2011年4月11日 星期一

lab20



lab23

1.



2.3.
4.

lab22

1.


2.

lab21

lab20

AccessBar

teacher:
1.僑委會全球資訊網 (http://www.ocac.gov.tw/)
2.行政院環境保護署首頁(http://www.epa.gov.tw/index.aspx?Folks=1)


myself:

1.新北市政府交通局(http://www.traffic.ntpc.gov.tw/web/FCMSetup?command=display&page=sitemap)

2.中華明國身心障礙推廣協會(http://www.rocserviceheart.org.tw/ap/sitemap.aspx)

3.內政部身心障礙入口服務網(http://dpws.moi.gov.tw/commonch/home.jsp?mserno=200806160004&contlink=ap/sitemap.jsp)

2011年3月28日 星期一

lab18

Greasemonkey

2.Install Greasemonkey 0.9.1. Check the lower right corner of your Firefox and you should find a monkey at the right.3.Cookie Monster - Show cookie contents: Shows the contents of the current page cookie. Just mouse over the "Cookie" text on the bottom left. Check what cookies http://www.nytimes.com writes to you. Does our class blog use cookie or not? Does Google use cookie?

4.

lab17

Google PageRank

1.
紐約時報( http://www.nytimes.com)



2.
CNN (http://www.cnn.com/)

3.台灣雅虎(http://tw.yahoo.com)



4.
蕃薯藤( http://www.yam.com)


5.PCHome 購物( http://shopping.pchome.com.tw/)



-------------------------------------

myself

1.youtube(http://www.youtube.com/).......9 /10

2.goole(http://www.google.com.tw/)...........8/10

3.face(http://zh-tw.facebook.com/)
................9 /10