2014年6月9日 星期一
2014年5月26日 星期一
lab33
Results of Group A
Brazil versus Scotland
Played on 10-Jun-1998Result: Brazil2 , Scotland1
Morocco versus Norway
Played on 10-Jun-1998Result: Morocco2 , Norway2
Scotland versus Norway
Played on 16-Jun-1998Result: Scotland1 , Norway1
Brazil versus Morocco
Played on 16-Jun-1998Result: Brazil3 , Morocco0
Brazil versus Norway
Played on 23-Jun-1998Result: Brazil1 , Norway2
Scotland versus Morocco
Played on 23-Jun-1998Result: Scotland0 , Morocco3
2014年5月19日 星期一
lab30
提供額外的導覽協助:https://www.youtube.com/
在鏈結上加入標題:https://chrome.google.com/webstore/category/apps?hl=zh-TW
定義快速鍵:http://i-learning.cycu.edu.tw/
先呈現妳的主要內容:http://mlb.mlb.com/home
不要開出新視窗:https://tw.yahoo.com/
在鏈結上加入標題:https://chrome.google.com/webstore/category/apps?hl=zh-TW
定義快速鍵:http://i-learning.cycu.edu.tw/
先呈現妳的主要內容:http://mlb.mlb.com/home
不要開出新視窗:https://tw.yahoo.com/
2014年5月12日 星期一
2014年5月5日 星期一
2014年4月28日 星期一
lab20
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 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. 3. If the input is not in the format of coordinates, display an error and ask the user to retry. For example, an incorrect input may look like 12.a2,21.22Lab 20
1. So please search the answer and post your opinion in your blog.
2. Hand code a HTML 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. 3. If the input is not in the format of coordinates, display an error and ask the user to retry. For example, an incorrect input may look like 12.a2,21.22
2014年4月14日 星期一
2014年4月7日 星期一
lab14
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<input type="button" id= "sexy baby" onclick="build()" value="sexy baby" />
<script>
function build()
{
myImg = document.createElement("IMG")
myImg.setAttribute("id","imageOne")
myImg.setAttribute("src","https://scontent-b-hkg.xx.fbcdn.net/hphotos-prn2/t1.0-9/165418_277489942387700_732609952_n.jpg")
docBody= document.getElementsByTagName("box").item(0)
docBody.appendChild(myImg)
}
</script>
<box>
<br>
<box>
2014年3月17日 星期一
lab13
<html>
<head>
</head>
<body id="body">
<form action="javascript:void(0);" id="exampleForm">
<input id="examplePass" type="text" />
<input type="submit" />
</form>
<script>
document.getElementById("exampleForm").onsubmit = function(){
var passwordRegex =/^((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))*$/;
if(!passwordRegex.test(document.getElementById("examplePass").value)){
console.log("Regex didn't match");
var notify = document.getElementById("notify");
if(notify === null){
notify = document.createElement("p");
notify.textContent = "請輸入正確的網址";
notify.id ="notify";
var body =document.getElementById("exampleForm");
body.appendChild(notify);
}
}
};
</script>
lab12
<html>
<title>lab12</title>
<body>
<form action="http://maps.google.com/maps" method="get" name="f" onsubmit="return check()">
<input name="q" type="text" /><br />
<input name="send" type="submit" value="search" />
</form>
</body>
<script>
document.getElementById("exampleForm").onsubmit =function() {
var passwordRegex = /^[-|+]*[\d]*[.|\d][\d]*[,][-|+]*[\d]*[.|\d][\d]*$/;
if(!passwordRegex.test(document.getElementById("examplePass").value)){
console.log("Regex didn't match");
var notify = document.getElementById("notify");
if (notify === null){
notify = document.createElement("p");
notify.textContent = "error"
notify.id = "notify";
var body = document.getElementById("body");
body.appendChild(notify);
}
}
};
</script>
</html>
lab12
2014年3月10日 星期一
lab8
<html>
<head>
</head>
<body id="body">
<form action="javascript:void(0);" id="exampleForm">
<input type="password" id="examplePass" />
<input type="submit" />
</form>
</body>
<script>
document.getElementById("exampleForm").onsubmit = function() {
//R
var passwordRegex = /^[\D]+[\W_]+[A-Za-z\d]{6,}$/;
if(!passwordRegex.test(document.getElementById("examplePass").value)){
console.log("Regex didn't match");
var notify = document.getElementById("notify");
if(notify === null) {
notify = document.createElement("p");
notify.textContent ="您的長度必須有6個字元長,必須包含一個數字和一個英文字母寬 "
notify.id = "notify";
var body = document.getElementById("body");
body.appendChild(notify);
</html>
}
}
};
</script>
<head>
</head>
<body id="body">
<form action="javascript:void(0);" id="exampleForm">
<input type="password" id="examplePass" />
<input type="submit" />
</form>
</body>
<script>
document.getElementById("exampleForm").onsubmit = function() {
//R
var passwordRegex = /^[\D]+[\W_]+[A-Za-z\d]{6,}$/;
if(!passwordRegex.test(document.getElementById("examplePass").value)){
console.log("Regex didn't match");
var notify = document.getElementById("notify");
if(notify === null) {
notify = document.createElement("p");
notify.textContent ="您的長度必須有6個字元長,必須包含一個數字和一個英文字母寬 "
notify.id = "notify";
var body = document.getElementById("body");
body.appendChild(notify);
</html>
}
}
};
</script>
2014年3月3日 星期一
Lab4
WR=0.2×Rank(S)+0.5×Rank(V)+0.15×Rank(R)+0.15×Rank(Sc)
中原cycu
(3,200,000+224,000)*0.2+5033*0.5+112,000*0.15+11,500*0.15=705041.5
中正ccu
( 6,830,000+225,000)*0.2+9858*0.5+239,000*0.15+18,500*0.15=1453554
台大ntu
(61,400,000+840,000)*0.2+32664*0.5 +1890000*0.15+62700*0.15=1705237
元智yzu
( 4,910,000+183,000)*0.2+4208*0.5+127,000*0.15+ 5,840*0.15=1065630
所以 台大>中正>元智>中原
中原cycu
(3,200,000+224,000)*0.2+5033*0.5+112,000*0.15+11,500*0.15=705041.5
中正ccu
( 6,830,000+225,000)*0.2+9858*0.5+239,000*0.15+18,500*0.15=1453554
台大ntu
(61,400,000+840,000)*0.2+32664*0.5 +1890000*0.15+62700*0.15=1705237
元智yzu
( 4,910,000+183,000)*0.2+4208*0.5+127,000*0.15+ 5,840*0.15=1065630
所以 台大>中正>元智>中原
2014年2月24日 星期一
訂閱:
文章 (Atom)