-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (90 loc) · 3.08 KB
/
index.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>安软再见</title>
<style type="text/css">
@font-face {
font-family: digit;
src: url('digital-7_mono.ttf') format("truetype");
}
</style>
<link href="css/default.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/garden.js"></script>
<script type="text/javascript" src="js/functions.js"></script>
</head>
<body>
<div id="mainDiv">
<div id="content">
<div id="code">
<span class="comments">/**</span><br />
<span class="space"/><span class="comments">*2012—05-17,</span><br />
<span class="space"/><span class="comments">*2015-09-25.</span><br />
<span class="space"/><span class="comments">*/</span><br />
Programmer name = <span class="keyword">Jim</span> Xu;<br />
<span class="comments">// Jim 加入安软. </span><br />
Jim 成为公司一员;<br />
<span class="comments">// Jim 融入JAVA TEAM.</span><br />
在温馨的JAVA TEAM氛围中,努力前行;<br />
<span class="comments">// AS time goes on.</span><br />
Jim 学到了很多,成长了很多;<br />
<span class="comments">// At the same time.</span><br />
Jim 感激每位帮助过我的人;<br />
<span class="keyword">Jim</span> never forget <span class="keyword">JAVA Team</span>;<br />
<span class="comments">// 仅以此纪念一起走过的日子.</span><br />
<br>
<br>
I want to say:<br />
永远年轻,永远热泪盈眶;<br />
</div>
<div id="loveHeart">
<canvas id="garden"></canvas>
<div id="words">
<div id="messages">
苏州安软,我们共同度过了。
<div id="elapseClock"></div>
</div>
<div id="loveu">
<a href="pic.html">图片版</a>/<a href="charater.html">文字版</a><br/>
<div class="signature">- Jim.Xu</div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var offsetX = $("#loveHeart").width() / 2;
var offsetY = $("#loveHeart").height() / 2 - 55;
var together = new Date();
together.setFullYear(2012, 5, 17);
together.setHours(08);
together.setMinutes(30);
together.setSeconds(0);
together.setMilliseconds(0);
var endDate = new Date();
endDate.setFullYear(2015, 9, 25);
endDate.setHours(17);
endDate.setMinutes(30);
endDate.setSeconds(0);
endDate.setMilliseconds(0);
if (!document.createElement('canvas').getContext) {
var msg = document.createElement("div");
msg.id = "errorMsg";
msg.innerHTML = "Your browser doesn't support HTML5!<br/>骚年,使用chrome吧!史上最好,没有之一!";
document.body.appendChild(msg);
$("#code").css("display", "none")
$("#copyright").css("position", "absolute");
$("#copyright").css("bottom", "10px");
document.execCommand("stop");
} else {
setTimeout(function () {
startHeartAnimation();
}, 5000);
timeElapse(endDate,together);
adjustCodePosition();
$("#code").typewriter();
}
</script>
</body>
</html>