-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·42 lines (40 loc) · 1.27 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
<!DOCTYPE html>
<!--如果可以的话请留下这段作者署名吧!算是我的小愿望了!-->
<!--原作者Vince
欢迎到github使用这个源码
https://github.com/wlmqpsc/countdownpage
博客
https://www.vincehut.top
-->
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--引入jQuery-->
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<!--引入countdown plugin for jQuery-->
<script src="js/jquery.countdown.min.js"></script>
<link rel="stylesheet" href="css/style.css">
<title>开学!</title>
</head>
<body>
<!--the BGM form netease music-->
<!--
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=110 src="//music.163.com/outchain/player?type=0&id=962637148&auto=1&height=90">
</iframe>
-->
<div id="text">
<h4>距离2020年开学<br>仅有</h4>
<span id="clock"></span><!--使用倒计时插件
javascript的具体编辑方法请查看插件官网
http://hilios.github.io/jQuery.countdown/-->
</div>
<script type="text/javascript">
$('#clock').countdown('2020/5/28', function(event) {
$(this).html(event.strftime('%D 天 %H:%M:%S'));
});
</script>
<br>
<div id="MGJ">
<p>Working...</p>
</div>
</body>
</html>