-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
126 lines (108 loc) · 4.74 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
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
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>浩浩和珠珠 </title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
@font-face {
font-family: digit;
src: url("digital-7_mono.ttf"/*tpa=./digital-7_mono.ttf*/) format("truetype");
}
</style>
<link href="css/default.css" tppabs="./css/default.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="js/jquery.js" tppabs="./js/jquery.js"></script>
<script type="text/javascript" src="js/garden.js" tppabs="./js/garden.js"></script>
<script type="text/javascript" src="js/functions.js" tppabs="./js/functions.js"></script>
<body>
<div id="mainDiv">
<div id="content">
<audio autoplay="autoplay" height="100" width="100">
<source src="music.mp3" type="audio/mp3" />
<embed height="100" width="100" src="music.mp3" />
<source src="music.mp3" type="audio/mp3" />
<embed height="100" width="100" src="music.mp3" />
<source src="music.mp3" type="audio/mp3" />
<embed height="100" width="100" src="music.mp3" />
</audio>
<div id="code">
<span class="comments">他和她:</span><br />
<span class="space"/><span class="comments"></span><br />
<span class="space"><span class="comments">相识相恋于理工大</span></span><br />
<span class="space"/><span class="comments"></span><br />
<span class="space"/><span class="comments">一起走过专——本——硕</span><br />
<span class="space"/><span class="comments"></span><br />
<span class="space"/><span class="comments">经历:临沂——泰安——济南+聊城</span><br />
<span class="space"/><span class="comments"></span><br />
<span class="space"/><span class="comments">有一种爱的默契,叫心有灵犀</span><br />
<span class="space"/><span class="comments"></span><br />
<span class="space"/><span class="comments">有一种爱的承诺,叫天长地久</span><br />
<span class="space"/><span class="comments"></span><br />
<span class="space"/><span class="comments">有一种爱的方式,是执子之手,与子携老</span><br />
<span class="space"/><span class="comments"></span><br />
<span class="space"/><span class="comments">他对她说:</span><br />
<span class="space"/><span class="comments"></span><br />
<span class="space"/><span class="comments">I LOVE YOU</span><br />
<span class="space"/><span class="comments"></span><br />
<span class="space"/><span class="comments">永远爱你!</span><br />
<span class="space"/><span class="comments"><a href="https://blog.csdn.net/weixin_45562000/article/details/104887857"></a>
</div>
<div id="loveHeart">
<canvas id="garden"></canvas>
<div id="words">
<div id="messages">
珠珠, 这是我们相恋的第
<div id="elapseClock"></div>
</div>
<div id="loveu">
永远爱你,一辈子,不分离!<br/>
<div class="signature">- 最爱你的人:浩浩</div>
</div>
</div>
</div>
<div class="bg1">
<div class="main">
<footer style="line-height:20px">
<div id="copyright">
<p><a href='https://blog.csdn.net/weixin_45562000/article/details/104887857' target="_blank"></a>
<a href="" target="_blank"></a></p>
</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(2014, 11, 24);
together.setHours(23);
together.setMinutes(20);
together.setSeconds(0);
together.setMilliseconds(0);
if (!document.createElement('canvas').getContext) {
var msg = document.createElement("div");
msg.id = "errorMsg";
msg.innerHTML = "提醒您:您的浏览器版本过旧^_^<br/>"+
"推荐使用 <a href='http://dlsw.br.baidu.com/ditui/zujian/bdBrowserSetup-5956-ftn_1000061134.exe' target='_blank'>百度浏览器<br/>请先升级您的浏览器,效果很炫哦~~";
document.body.appendChild(msg);
$("#code").css("display", "none")
$("#copyright").css("position", "absolute");
$("#copyright").css("bottom", "10px");
document.execCommand("stop");
} else {
setTimeout(function () {
adjustWordsPosition();
startHeartAnimation();
}, 5000);
timeElapse(together);
setInterval(function () {
timeElapse(together);
}, 500);
adjustCodePosition();
$("#code").typewriter();
}
</script>
<audio id="bgmMusic" src="http://qzone.haoduoge.com/music/C2C3F0LSXH4D771253124A26CF9C71C939B2A.mp3" preload="auto" type="audio/mp3" autoplay loop></audio>
</body>
</html>