-
Notifications
You must be signed in to change notification settings - Fork 0
/
film.html
82 lines (66 loc) · 2.47 KB
/
film.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
77
78
79
80
81
82
<!DOCTYPE html>
<html>
<head>
<link rel="icon" type="image/png" href="images/logo_movie.png" />
<meta charset="UTF-8">
<meta name="theme-color" content="#300025">
<title> FILM </title>
<link rel="stylesheet" href="style_sheet.css">
<style>
/*Color specific to the page*/
body {background-color : rgb(0, 0, 30);}
p, h1, h2, h3, a, label, legend, div {color:rgb(153, 0, 115);}
button, select {background-color: rgb(153, 0, 115);}
fieldset {border-color: rgb(153, 0, 115);}
#tout_noir{padding: 0px 0px;}
#toggle_halo{padding: 0px 0px;}
</style>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#tout_noir').click(function(){
var a = new XMLHttpRequest();
a.open("GET","blackout.php");
a.onreadystatechange=function(){
if(a.readyState==4){
if(a.status == 200){
}else{
alert("HTTP ERROR");
}
}
}
a.send();
});
$('#toggle_halo').click(function(){
console.log("envoie toggle");
var a = new XMLHttpRequest();
a.open("GET","toggle_halo.php");
a.onreadystatechange=function(){
console.log("reponse de toggle");
console.log(a);
if(a.readyState==4){
if(a.status == 200){
}else{
alert("HTTP ERROR");
}
}
}
a.send();
});
});
</script>
</head>
<body>
<center>
<input type="image" id="tout_noir" alt="Login" src="/images/ca_va_etre_tout_noir.jpg">
</input>
<br/> <br/> <br/>
<input type="image" id="toggle_halo" alt="Login" src="/images/jacquouille.jpg">
</input>
<br/> <br/> <br/>
<p>V2.1</p>
<p>Pour plus d'options cliquer <a href="menu_page.html"> ici</a>.</p>
<p>[email protected]</p>
</center>
</body>
</html>