Add background music support and enhance game animation toggle functionality
This commit is contained in:
+4
-2
@@ -107,6 +107,8 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<iframe src="music.html" style="display: none;" id="musicIframe"></iframe>
|
||||
<h1 style="opacity: 0;">Moon Gaming</h1>
|
||||
<div class="button-container" style="opacity: 0;">
|
||||
<button class="button" onclick="location.href='chatroom.html'">Chatroom</button>
|
||||
@@ -119,8 +121,8 @@
|
||||
<!-- Add a clock element to display date and time -->
|
||||
<div id="clock" style="opacity: 0; font-size: 1.5rem; margin-top: 20px;"></div>
|
||||
|
||||
<!-- Add background music -->
|
||||
<audio id="backgroundMusic" src="./videoplayback.mp3" loop></audio>
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
// Utility function to set a cookie
|
||||
|
||||
Reference in New Issue
Block a user