-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.htm
85 lines (80 loc) · 2 KB
/
index.htm
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
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<script src="js/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="js/video.js" type="text/javascript"></script>
<script src="js/bigvideo.js" type="text/javascript"></script>
<script src="js/marquee.js" type="text/javascript"></script>
<script src="js/bingo.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="css/bingo.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/bigvideo.css" media="all" />
<title>Bingo</title>
</head>
<body>
<div id="wrapper">
<header></header>
<div class="alert" id="alert-linea"><span>Línea</span></div>
<div class="alert" id="alert-bingo"><span>Bingo</span></div>
<div id="col-wrapper">
<section id="col-left">
<section class="stage">
<figure class="ball"><span id="display"></span><span class="shadow"></span></figure>
</section>
<div id="ultimas">
<span id="ultima_1">-</span>
<span id="ultima_2">-</span>
<span id="ultima_3">-</span>
<div>Últimas bolillas</div>
</div>
</section>
<section id="col-right">
<ul id="panel"></ul>
</section>
</div>
<footer>
<div id="marquee"><div></div></div>
</footer>
</div>
<script>
var bingo, confirmrestart = false;
$(function()
{
var BV = new $.BigVideo();
BV.init();
BV.show(['vid/bg.mp4'],{ambient:true});
bingo = new Bingo();
$(document).keypress(function(e)
{
switch(e.keyCode)
{
case 115: // S
bingo.sortear();
break;
case 112: // P
if(bingo.confirmrestart)
{
bingo.confirmrestart = false;
bingo.restart();
}
else
{
bingo.confirmrestart = true;
}
break;
case 108: // L
bingo.alertLinea();
break;
case 98: // B
bingo.alertBingo();
break;
case 124: // |
bingo.clearAlert();
break;
}
});
});
window.onbeforeunload = function(){ return ''; };
</script>
</body>
</html>