-
Notifications
You must be signed in to change notification settings - Fork 11
/
webNote.html
164 lines (146 loc) · 5.46 KB
/
webNote.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--设置视口的宽度(值为设备的理想宽度),页面初始缩放值<理想宽度/可见宽度>-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/flexslider.css">
<link rel="stylesheet" type="text/css" href="css/animate.css">
<link rel="stylesheet" type="text/css" href="css/stylesheet.css">
<link rel="stylesheet" type="text/css" href="css/pageFrame.css">
<link rel="stylesheet" type="text/css" href="css/blogFrame.css">
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="js/jquery.flexslider-min.js"></script>
<script type="text/javascript" src="js/jquery.nivo.slider.js"></script>
<script type="text/javascript" src="js/jquery.bgslider.js"></script>
<script type="text/javascript" src="js/masonry.pkgd.min.js"></script>
<script type="text/javascript">
var fullHeight = function(){
$('.full_height').css('min-height', $(window).height());
}
var sliderMain = function() {
$('.flexslider').flexslider({
animation: "fade",
slideshowSpeed: 5000,
directionNav: false
// start: function(){
// setTimeout(function(){
// $('.slider-text').removeClass('animated fadeInUp');
// $('.flex-active-slide').find('.slider-text').addClass('animated fadeInUp');
// }, 500);
// },
// before: function(){
// setTimeout(function(){
// $('.slider-text').removeClass('animated fadeInUp');
// $('.flex-active-slide').find('.slider-text').addClass('animated fadeInUp');
// }, 500);
// }
});
};
var masonryMain=function(){
var $container = $('#masonry');
$container.masonry({
itemSelector: '.brick',
gutter:0,
isAnimated: true,
});
}
var iframeWidth=function(){
$('.brick div iframe').css('width', $('.brick>div').width()+20);
}
$(function(){
$(window).resize(fullHeight);
$(window).resize(iframeWidth);
fullHeight();
iframeWidth();
sliderMain();
masonryMain();
$("#blog").bind("click", function() {
if($(".blog-list").is(":hidden")) {
$(".blog-list").show();
} else {
$(".blog-list").hide();
}
});
});
</script>
<title>Douzi's Blog</title>
</head>
<body>
<script type="text/javascript" src="js/background.js"></script>
<!--Menu-->
<div class="full_height" id="aside">
<h1 id="logo">Douzi</h1>
<nav class="nav1">
<ul class="text">
<li class="active"><a href="index.html">Home</a></li>
<li id="blog"><a href="#">Blog</a>
<ul class="blog-list" hidden="hidden" style="font-size: 11px; margin: 20px;"><a href="MachineLearning.html"> • 机器学习</a></ul>
<ul class="blog-list" hidden="hidden" style="font-size: 11px; margin: 20px;"><a href="#"> • 数据挖掘</a></ul>
<ul class="blog-list" hidden="hidden" style="font-size: 11px; margin: 20px;"><a href="#"> • 统计学习</a></ul>
<ul class="blog-list" hidden="hidden" style="font-size: 11px; margin: 20px;"><a href="algorithm.html"> • 算法笔记</a></ul>
<ul class="blog-list" hidden="hidden" style="font-size: 11px; margin: 20px;"><a href="webNote.html"> • Web笔记</a></ul>
</li>
<li><a href="http://www.cnblogs.com/douzujun/">Article</a></li>
<li><a href="#">Album</a></li>
</ul>
</nav>
</div>
<div class="display">
<div class="full_height flexslider">
<ul class="slides">
<li class="full_height" style="background-image:url(images/bgslider-1.jpg)">
</li>
<li class="full_height" style="background-image:url(images/bgslider-2.jpg)">
</li>
<li class="full_height" style="background-image:url(images/bgslider-3.jpg)">
</li>
</ul>
</div>
<div id="masonry">
<div class="brick">
<div>
<div class="text">
<h2><a href="page/JavaWeb笔记/Servlet快速入门.html"> 01. Servlet快速入门 </a></h2>
<p>— web.xml配置</p>
<p>— Servlet的API(生命周期) </p>
<p>— 案例: 用户登录功能</p>
<p>— ServletContext对象</p>
</div>
</div>
</div>
<div id="masonry">
<div class="brick">
<div>
<div class="text">
<h2><a href="page/JavaWeb笔记/JDBC连接池&DBUtils.html"> 02. JDBC连接池和DBUtils </a></h2>
<p>— 使用连接池重写工具类</p>
<p>— 使用C3P0连接池 </p>
<p>— DBCP连接池</p>
<p>— 使用DBUtils增删改查的操作</p>
</div>
</div>
</div>
<div class="brick">
<div>
<div class="music1">
<!--http://music.163.com/#/song?id=29822015-->
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=411988502&auto=0&height=66"></iframe>
</div>
</div>
</div>
<div class="brick">
<div>
<div class="text">
<h2>天涯过客</h2>
<p>晨霜攀黛瓦 抖落霜 冷了茶 </p>
<p>抚琴欲对话 欲问琴声初落下</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>