-
Notifications
You must be signed in to change notification settings - Fork 0
/
fun.html
91 lines (75 loc) · 2.34 KB
/
fun.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
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html>
<head>
<title>Petits informations entre nous</title>
<meta charset="utf-8" />
<link rel="stylesheet" media="all" href="css/styles.css"/>
<script type="text/javascript" src="script/soundmanager2.js"></script>
<script type="text/javascript">
soundManager.url = 'swf/';
soundManager.debugMode = true;
var premier_son = null;
function playMusic(){
if(premier_son == null){
premier_son = soundManager.createSound(
{
id : "premier_son",
url : "musique/son.wav" // Attention pas de virgule ici !
});
premier_son.play();
}
}
function msg1()
{
document.getElementById("msg1").innerHTML = '<img src=image/TVScreen_msg1.jpg>';
}
function msg2()
{
document.getElementById("msg2").innerHTML = '<img src=image/TVScreen_msg2.jpg>';
}
function msg3()
{
document.getElementById("msg3").innerHTML = '<img src=image/TVScreen_msg3.jpg>';
}
function msg4()
{
document.getElementById("msg4").innerHTML = '<img src=image/TVScreen_msg4.jpg>';
}
</script>
</head>
<body class="bodyfun">
<ul class="Bouton_ligne">
<li><a href="Page_accueil.html" class="myButton">Accueil</a></li>
<li><a href="information.html" class="myButton">Documentation</a></li>
<li><a href="contacts.html" class="myButton">Contact</a></li>
<li><a href="fun.html" class="myButton">Surprise</a></li>
</ul>
<table class="tableaux">
<td>
<button onclick="msg2(); playMusic();"><img src="image/garbage.png"></button>
</td>
<td>
<button onclick="msg3(); playMusic();"><img src="image/Scared_Soldier_Holding_Missle.png"></button>
</td>
<td>
<button onclick="msg1(); playMusic();"><img src="image/onucasquebleu.png"></button></td>
<td>
<button onclick="msg4(); playMusic();"><img src="image/soupe-de-legumes.png"></button>
</td>
</table>
<table class="tableau2">
<tr>
<td><pre id="msg2"> </pre></td>
<td><pre id="msg3"> </pre></td>
</tr>
<tr>
<td><pre id="msg1"> </pre></td>
<td><pre id="msg4"> </pre></td>
</tr>
</table>
</body>
<div id="footer">
<p class="Rhenatic"><img src="image/Rhenatic.jpg" alt="Rhenatic" width="80" height="40"/></p>
<p class="p_footer">Les gauffres volantes <img class="Technopole" src="image/Technopole.png" alt="Technopole" width="80" height="40"/> <br/> ENSISA </p>
</div>
</html>