-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathselectHomework.html
103 lines (99 loc) · 3.46 KB
/
selectHomework.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=chrome">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>UML</title>
<style>
div#mobile {
box-sizing: border-box;
width: 300px;
height: 500px;
margin: 20px auto;
border: 6px solid black;
border-radius: 40px 40px 40px 40px;
padding: 20px;
background-image: url('symbol.jpg');
background-repeat: no-repeat;
background-position: 50% 70%;
}
p {
width: 200px;
height: 20px;
margin: 20px auto;
border-radius: 10px 10px 10px 10px;
padding: 20px;
background-color: lightskyblue;
text-align: center;
font-size: 20px;
font-weight: bold;
}
table {
border: solid 1px black;
border-collapse:collapse;
text-align: center;
}
td {
padding-top: 5px;
padding-bottom: 5px;
padding-left: 5px;
padding-right: 5px;
border: 2px solid lightslategrey;
color: darkslateblue;
font-weight: bold;
}
</style>
<script>
function moveTo(){
var radio = document.getElementsByName("radio");
var radio_btn_check = 0;
for(var i = 0; i<radio.length; i++){
if(radio[0].checked==true){
location.href="homeworkJava.html";
}
else if(radio[1].checked==true){
location.href="homeworkPython.html";
}
else if(radio[2].checked==true){
location.href="homeworkSibunseol.html";
}
else if(radio[3].checked==true){
location.href="homeworkDataStructure.html";
}
else if(radio[4].checked==true){
location.href="homeworkOs.html";
}
}
}
</script>
</head>
<body>
<div id="mobile">
<h4 style="text-align: center;">•∙• ――――― •∙•</h4>
<p id="head">과제 조회</p>
<h3 style="text-align: center;">조회 할 과목을 선택하세요.</h3>
<form method="post" id="myForm_2" action="">
<table border="1" align = "center">
<tr>
<td><input type="radio" name="radio"></td> <td>JAVA 프로그래밍2</td>
</tr>
<tr>
<td><input type="radio" name="radio"></td> <td>python 프로그래밍2</td>
</tr>
<tr>
<td><input type="radio" name="radio"></td> <td>시스템 분석 설계 및<br> 지식 재산</td>
</tr>
<tr>
<td><input type="radio" name="radio"></td> <td>자료구조</td>
</tr>
<tr>
<td><input type="radio" name="radio"></td> <td>운영체제</td>
</tr>
</table>
</form>
<br>
<input style="color: royalblue; font-weight: bold; float: right;" type="button" value="조회" onclick="moveTo()">
</div>
</body>
</html>