-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.php
More file actions
67 lines (65 loc) · 2.38 KB
/
Copy path404.php
File metadata and controls
67 lines (65 loc) · 2.38 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
<?php get_header(); ?>
<!-- Error Page -->
<div class="error">
<div class="container-floud">
<div class="col-xs-12 ground-color text-center">
<div class="container-error-404">
<div class="clip"><div class="shadow"><span class="digit thirdDigit"></span></div></div>
<div class="clip"><div class="shadow"><span class="digit secondDigit"></span></div></div>
<div class="clip"><div class="shadow"><span class="digit firstDigit"></span></div></div>
<div class="msg">OH!<span class="triangle"></span></div>
</div>
<h2 class="h1">Sorry! Page not found</h2>
</div>
</div>
</div>
<!-- Error Page -->
<script type="text/javascript">
function randomNum()
{
"use strict";
return Math.floor(Math.random() * 9)+1;
}
var loop1,loop2,loop3,time=30, i=0, number, selector3 = document.querySelector('.thirdDigit'), selector2 = document.querySelector('.secondDigit'),
selector1 = document.querySelector('.firstDigit');
loop3 = setInterval(function()
{
"use strict";
if(i > 40)
{
clearInterval(loop3);
selector3.textContent = 4;
}else
{
selector3.textContent = randomNum();
i++;
}
}, time);
loop2 = setInterval(function()
{
"use strict";
if(i > 80)
{
clearInterval(loop2);
selector2.textContent = 0;
}else
{
selector2.textContent = randomNum();
i++;
}
}, time);
loop1 = setInterval(function()
{
"use strict";
if(i > 100)
{
clearInterval(loop1);
selector1.textContent = 4;
}else
{
selector1.textContent = randomNum();
i++;
}
}, time);
</script>
<?php get_footer(); ?>