commands.js.download
This commit is contained in:
parent
64643f8de5
commit
5d0593a9bc
|
@ -151,6 +151,20 @@ root = [
|
||||||
"<br>",
|
"<br>",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
// First, define the audio element and script outside the banner array
|
||||||
|
var audioElement = document.createElement("audio");
|
||||||
|
audioElement.id = "sound";
|
||||||
|
audioElement.src = "Sound.mp3";
|
||||||
|
|
||||||
|
function playSound() {
|
||||||
|
var sound = document.getElementById("sound");
|
||||||
|
sound.play();
|
||||||
|
}
|
||||||
|
|
||||||
|
window.addEventListener("load", playSound);
|
||||||
|
|
||||||
|
// Now, define your banner array with the HTML content
|
||||||
|
|
||||||
banner = [
|
banner = [
|
||||||
'<span class="index">Adil Sadqi Not A Corporation. No Rights reserved.</span>',
|
'<span class="index">Adil Sadqi Not A Corporation. No Rights reserved.</span>',
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue