Skip to content

Commit 7ce43c6

Browse files
committed
update index
1 parent 9213110 commit 7ce43c6

File tree

2 files changed

+36
-20
lines changed

2 files changed

+36
-20
lines changed

index.html

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,31 @@
1414
min-height: 2000px;
1515
padding-top: 70px;
1616
}
17-
</style>
1817

18+
.iframe {
19+
width: 100%;
20+
min-height: 500px;
21+
}
22+
</style>
23+
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
24+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
25+
<!-- Include all compiled plugins (below), or include individual files as needed -->
26+
<script src="js/bootstrap.min.js"></script>
1927
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
2028
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
2129
<!--[if lt IE 9]>
2230
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
2331
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
2432
<![endif]-->
33+
<script type="javascript">
34+
$(document).load(function() {
35+
36+
$('a').onclick(function() {
37+
var href = $(this).attr('href');
38+
39+
});
40+
});
41+
</script>
2542
</head>
2643
<body>
2744
<nav class="navbar navbar-default navbar-fixed-top">
@@ -43,14 +60,6 @@
4360
<ul class="dropdown-menu">
4461
<li><a href="http://thwu.github.io/" target="_blank">HW01:First Page</a></li>
4562
<li><a href="./resume.html" target="_blank">HW02:Online Resume</a></li>
46-
<!--
47-
<li><a href="#">Another action</a></li>
48-
<li><a href="#">Something else here</a></li>
49-
<li role="separator" class="divider"></li>
50-
<li class="dropdown-header">Nav header</li>
51-
<li><a href="#">Separated link</a></li>
52-
<li><a href="#">One more separated link</a></li>
53-
-->
5463
</ul>
5564
</li>
5665
<li class="dropdown">
@@ -85,6 +94,7 @@
8594
<li><a href="http://www.sublimetext.com/" target="_blank">Sublime Text</a></li>
8695
<li><a href="https://balsamiq.com/" target="_blank">Balsamiq</a></li>
8796
<li><a href="http://it-ebooks-search.info/" target="_blank">IT eBooks</a></li>
97+
<li><a href="https://pixlr.com/editor/"></a>Pixlr (Online PS)</li>
8898
</ul>
8999
</li>
90100
</ul>
@@ -96,16 +106,7 @@
96106
</div>
97107
</nav>
98108
<div class="container">
99-
<div class="jumbotron">
100-
<h1>Hello, world!</h1>
101-
<p class="lead">
102-
第260期 HTML5, CSS3, jQuery, Bootstrap 網頁設計基礎班 (夜間班(3h))
103-
</p>
104-
</div>
105-
</div>
106-
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
107-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
108-
<!-- Include all compiled plugins (below), or include individual files as needed -->
109-
<script src="js/bootstrap.min.js"></script>
109+
<iframe src="main.html" frameborder="0" class="iframe"></iframe>
110+
</div>
110111
</body>
111112
</html>

main.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE html>
2+
<html lang="zh-tw">
3+
<head>
4+
<meta charset="UTF-8">
5+
<link href="css/bootstrap.min.css" rel="stylesheet">
6+
</head>
7+
<body>
8+
<div class="jumbotron">
9+
<h1>Hello, world!</h1>
10+
<p class="lead">
11+
第260期 HTML5, CSS3, jQuery, Bootstrap 網頁設計基礎班 (夜間班(3h))
12+
</p>
13+
</div>
14+
</body>
15+
</html>

0 commit comments

Comments
 (0)