-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
72 lines (67 loc) · 1.87 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
<!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>( •̀ ω •́ )AnranWu的主页</title>
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/base.css" />
<link rel="icon" href="images/logo.png" sizes="35*35">
</head>
<body onload="demo.init();">
<!-- /加载动画 -->
<script>
const SETTINGS =
{
rebound:
{
tension: 16,
friction: 5
},
spinner:
{
id: 'spinner',
radius: 90,
sides: 3,
depth: 4,
colors:
{
//background: '#231E76',
//stroke: '#231E76',
background: '#f0f0f0',
stroke: '#272633',
base: null,
child: '#272633'
},
alwaysForward: true, // When false the spring will reverse normally.
restAt: 0.5, // A number from 0.1 to 0.9 || null for full rotation
renderBase: false
}
};
</script>
<script src="js/main.js"></script>
<!-- /加载动画 -->
<!-- /失去焦点Title变化 -->
<script>
document.addEventListener('visibilitychange', function()
{
var isHidden = document.hidden;
if (isHidden)
{
document.title = '(o゚v゚)ノ Hi( •̀ ω •́ )AnranWu的主页';
}
else
{
document.title = '( •̀ ω •́ )AnranWu的主页';
}
});
</script>
<!-- /失去焦点Title变化 -->
<!--自动转到主页-->
<script language="javascript" type="text/javascript">
window.setTimeout("window.location='homePage.html'",2000);
</script>
<!--自动转到主页-->
</body>
</html>