wip figures and images
This commit is contained in:
parent
ea235120f8
commit
c6bac45ecf
61 changed files with 1491 additions and 1315 deletions
15
_src/assets/js/bob.js
Normal file
15
_src/assets/js/bob.js
Normal file
|
@ -0,0 +1,15 @@
|
|||
let bob = document.getElementById("bob");
|
||||
let help = document.createElement("audio");
|
||||
help.src = "/assets/audio/bob.ogg";
|
||||
help.loop = true;
|
||||
bob.appendChild(help);
|
||||
window.addEventListener("load", function () {
|
||||
help.play();
|
||||
help.muted = true;
|
||||
});
|
||||
bob.onmouseover = () => {
|
||||
help.muted = false;
|
||||
};
|
||||
bob.onmouseout = () => {
|
||||
help.muted = true;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue