-
Notifications
You must be signed in to change notification settings - Fork 2
/
front-page2.php
75 lines (68 loc) · 1.25 KB
/
front-page2.php
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
<!doctype html>
<html>
<head>
<title>Ping!</title>
<style>
@font-face {
font-family: myriad;
src: url('myriad.otf');
}
body, html {
font-family: Consolas, monospace;
margin: 0 auto;
padding: 0px;
height: 100%;
/*background-color: rgba(0,0,0,0.1);*/
}
#container {
width: 100%;
height: 100%;
border: 0px;
margin: 0px;
padding: 0px;
border-collapse: collapse;
}
#leftcol {
font-size: 6em;
/*background-color: rgba(0,0,0,0.9);*/
/*color: white;*/
letter-spacing: 10px;
text-align: center;
}
a {
text-decoration: none;
}
</style>
</head>
<body>
<table id="container" width="100%">
<tr>
<td id="leftcol" width="100%">
> ping<span id="dis">_</span>
</td>
</tr>
</table>
</body>
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery-ui.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/smooth.min.js"></script>
<script>
$(document).keypress(function(e) {
if (e.which == 13) {
alert('hi');
// window.location.href="home.php";
}
})
var flag = 0;
window.setInterval(function() {
if (flag ==0) {
$('#dis').animate({opacity: 0}, 300);
flag = 1;
}
else {
$('#dis').animate({opacity: 1}, 300);
flag = 0;
}
}, 800);
</script>
</html>