-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
88 lines (87 loc) · 2.9 KB
/
index.html
File metadata and controls
88 lines (87 loc) · 2.9 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>司南科技社</title>
<script src="js/jquery.min.js"></script>
<script src="js/jqueryui.js"></script>
<style>
body{
margin: 0px;
font-size: 1.2em;
}
#logo_div{
height: 100px;
width: 400px;
position: absolute;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
/*border: 1px solid black;*/
}
#logo_img{
width: 100px;
height: 100px;
position: absolute;
left: 150px;
}
#snkjs{
/*border: 1px solid red;*/
position: absolute;
font: "微软雅黑";
font-size: 58px;
width: 0px;
height: 80px;
top: 10px;
/*display: none;*/
opacity: 0.2;
left: 250px;
overflow: hidden;
}
#title_bar{
/*border: 1px solid blue;*/
height: 50px;
}
</style>
</head>
<body>
<div id="logo_div" style="display: none;">
<img id="logo_img" src="image/logo.png" draggable="false"/>
<span id="snkjs"><span style="float: right;overflow: hidden;"><span>司</span><span>南</span><span>科</span><span>技</span><span>社</span></span></span>
</div>
<script>
$(function(){
$("#logo_div").css({
left:((window.innerWidth-$("#logo_div").width())/2),
top:((window.innerHeight-$("#logo_div").height())/2)
}).show();
$("#logo_img").delay(500).animate({left: "0px"} , 1000);
$("#snkjs").delay(500).animate({width:300,left: "100px",opacity: 1} , 1000);
setTimeout(function(){
$("#logo_img").animate({width:"50px",height:"50px"} , 1000);
$("#snkjs").animate({width:"150px",height:"40px",top:"5px",left:"50px",fontSize:"29px"} , 1000);
$("#logo_div").animate({top:"0px",left:"0px",width:"200px",height:"50px"} , 1000 , function(){
$("#main_div").fadeIn(1000);
var logo_div = $("#logo_div").detach();
$("#title_bar").append(logo_div);
});
} , 2000);
// $("#snkjs").fadeIn(1000);
});
</script>
<div id="title_bar"></div>
<div id="main_div" style="display: none;">
<p>这里是 内江六中 司南科技社</p>
<p>网站正在建设中,其貌不扬,请多包涵......</p>
<p>如果您对于此网站的开发、UI、逻辑等有什么意见或建议,<br>
敬请联系邮箱:<a href="mailto:nlsnkjs@qq.com">nlsnkjs@qq.com</a></p>
<br>
<p>
<a href="./link/index.html">司南科技社 所有链接</a> <br>
</p>
</div>
</body>
<script>
$("a").attr("target","_blank");
</script>
</html>