-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopciones.html
76 lines (65 loc) · 1.81 KB
/
opciones.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
73
74
75
76
<html>
<head>
<link rel="stylesheet" href="css/opciones.css">
<link rel="stylesheet" href="css/index.css">
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<title>Pausa</title>
</head>
<style>
@font-face {
font-family: DeadKansas;
src: url(font/DeadKansas.ttf);
font-weight: bold;
}
</style>
<script>
$(document).ready(function() {
if(localStorage.usuario === undefined || localStorage.usuario == ""){
}else{
$(".namre").val(localStorage.usuario);
}
if(localStorage.audio === undefined || localStorage.audio == ""){
localStorage.audio = "si";
$("#audioSi").addClass("check");
} else if (localStorage.audio == "si") {
$("#audioSi").addClass("check");
} else {
$("#audioNo").addClass("check");
}
document.addEventListener('keyup',onDocumentKeyUp,false);
function onDocumentKeyUp(event){
localStorage.usuario = $(".namre").val();
}
})
function addAudio() {
$("#audioSi").addClass("check");
$("#audioNo").removeClass("check");
localStorage.audio = "si";
}
function removeAudio() {
$("#audioNo").addClass("check");
$("#audioSi").removeClass("check");
localStorage.audio = "no";
}
</script>
<body>
<div class="fullscreen-bg">
<video loop muted autoplay poster="" class="fullscreen-bg__video">
<source src="video/fondo.wmv" type="video/mp4">
</video>
</div>
<div class="titulo"><img src="imagenes/Opciones de login.png"></div>
<table cellspacing="10" cellpadding="10">
<tr>
<td>NOMBRE</td>
<td colspan="2" class="nombre"><input/ class="namre"></td>
</tr>
<tr>
<td>AUDIO</td>
<td id="audioSi" onclick="addAudio();" style="cursor: pointer;">SI</td>
<td id="audioNo" onclick="removeAudio();" style="cursor: pointer;">NO</td>
</tr>
</table>
<div class="menu" onclick="window.location='index.html';">Regresar</div>
</body>
</html>