芳鄰成長圖

芳鄰成長圖

2012年12月17日 星期一

LAB36 Syndication with RSS 2.0


Lab 35 XML (2)




Lab 34 XML

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.(least 200 words)

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.

2012年12月3日 星期一

Lab 31 & Lab 32 Programming in DOM


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>lab30</title>
<script>
function buildTable(){
docBody = document.getElementsByTagName("body").item(0)
myTable = document.createElement("TABLE")
myTable.id ="TableOne"
myTable.border = 1
myTableBody = document.createElement("TBODY")
for (i = 1; i < 10; i++){
row = document.createElement("TR")
for (j = 1; j < 10; j++){
cell = document.createElement("TD")
cell.setAttribute("WIDTH","50")
cell.setAttribute("HEIGHT","50")
k=i*j
textVal=""+i+"x"+j+"="+k
textNode = document.createTextNode(textVal)
cell.appendChild(textNode)
row.appendChild(cell)
}
myTableBody.appendChild(row)
}
myTable.appendChild(myTableBody)
docBody.appendChild(myTable)
}
window.onclick=buildTable
</script>
</head>
<body>
<br>
<input value="
顯示圖片" onclick="build()" type="button">
</body>
</html>

Lab 30 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.


Lab 29 Hand code a form



Lab 28 Lab Form and Action




Homework 11/26/2012


1. 在時速300km/h的高鐵上如何提供上網,2G, 3G, 4G, Wi-Fi可行嗎? 試提出可行之道。

不行!!!高鐵時速接近300,因為2G,3G,4G,Wi-Fi的速度都跟不上...所以連結步道

WiMAX
提供無線上網具有穩定、快速優勢,為經濟部技術處、威達、工研院、高鐵四方努力成果。


2. 在高鐵沿線兩側部建Wi-Fi基地台(Access Point),能否解決高鐵上網問題,為什麼?

不行,Wi-Fi雖然方便但她通訊速度卻有速度範圍!一般能接受人的行走速度~騎車開車時就無法接收到!!!