wip figures and images
This commit is contained in:
parent
ea235120f8
commit
c6bac45ecf
61 changed files with 1491 additions and 1315 deletions
|
@ -1,13 +1,23 @@
|
|||
let pipe = document.getElementById("meow");
|
||||
let preload = new Image();
|
||||
preload.src = "/assets/img/button/braixdragon-cat2.gif";
|
||||
|
||||
pipe.addEventListener("mouseover", func, true);
|
||||
|
||||
function func() {
|
||||
pipe.src = "/assets/img/button/braixdragon-cat2.gif";
|
||||
pipe.src = preload.src;
|
||||
}
|
||||
|
||||
let audio = document.createElement("audio");
|
||||
audio.src = "/assets/Destruction_Metal_Pole_L_Wave_2_0_0.wav";
|
||||
document.body.appendChild(audio);
|
||||
pipe.addEventListener("mouseover", function () {
|
||||
setTimeout(() => {
|
||||
audio.play();
|
||||
}, 1700);
|
||||
}, { once: true });
|
||||
audio.src = "/assets/audio/anvil_land_low.ogg";
|
||||
pipe.appendChild(audio);
|
||||
|
||||
pipe.addEventListener(
|
||||
"mouseover",
|
||||
function () {
|
||||
setTimeout(() => {
|
||||
audio.play();
|
||||
}, 1700);
|
||||
},
|
||||
{ once: true }
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue