|
|
@ -101,18 +101,23 @@
|
|
|
|
//audio
|
|
|
|
//audio
|
|
|
|
|
|
|
|
|
|
|
|
var theme = document.querySelector("#theme2");
|
|
|
|
var theme = document.querySelector("#theme2");
|
|
|
|
|
|
|
|
theme.volume = 1;
|
|
|
|
var scary = document.querySelector("#theme4");
|
|
|
|
var scary = document.querySelector("#theme4");
|
|
|
|
|
|
|
|
scary.volume = 0.1;
|
|
|
|
var click = document.querySelector("#click");
|
|
|
|
var click = document.querySelector("#click");
|
|
|
|
var comic = document.querySelector("#comic");
|
|
|
|
var comic = document.querySelector("#comic");
|
|
|
|
var no = document.querySelector("#no");
|
|
|
|
var no = document.querySelector("#no");
|
|
|
|
var yes = document.querySelector("#yes");
|
|
|
|
var yes = document.querySelector("#yes");
|
|
|
|
var shot = document.querySelector("#shot");
|
|
|
|
var shot = document.querySelector("#shot");
|
|
|
|
|
|
|
|
shot.volume = 0.5;
|
|
|
|
|
|
|
|
|
|
|
|
$("body").hover( function() {
|
|
|
|
$("body").hover( function() {
|
|
|
|
|
|
|
|
if (stop_autoplay = 0) {
|
|
|
|
theme.play();
|
|
|
|
theme.play();
|
|
|
|
theme.addEventListener('paused',function() {
|
|
|
|
theme.addEventListener('paused',function() {
|
|
|
|
theme.play();
|
|
|
|
theme.play();
|
|
|
|
},false);
|
|
|
|
},false);
|
|
|
|
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
var fluoride = 5;
|
|
|
|
var fluoride = 5;
|
|
|
@ -135,7 +140,10 @@ var fluoride = 5;
|
|
|
|
|
|
|
|
|
|
|
|
//change characters + invert
|
|
|
|
//change characters + invert
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var stop_autoplay = 0;
|
|
|
|
|
|
|
|
|
|
|
|
$("#table").click (function(){
|
|
|
|
$("#table").click (function(){
|
|
|
|
|
|
|
|
stop_autoplay ++;
|
|
|
|
theme.pause();
|
|
|
|
theme.pause();
|
|
|
|
scary.play();
|
|
|
|
scary.play();
|
|
|
|
$(".cooking, #table, .message1 ").hide();
|
|
|
|
$(".cooking, #table, .message1 ").hide();
|
|
|
@ -331,7 +339,7 @@ var fluoride = 5;
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="index.js" ></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</body>
|