mirror of
https://wiilab.wiimart.org/wiimart/WiiMart-github-io
synced 2025-09-02 19:40:59 +02:00
complete rewrite of the bgmplayer :) it works fine now
This commit is contained in:
parent
417656c215
commit
cc1d2cfba4
@ -19,7 +19,7 @@
|
||||
<style>mark {color:white} img.wm {width: 100%;vertical-align: middle;} div.wm {padding:20px;border-radius:5px;margin-top:10px;}</style>
|
||||
</head>
|
||||
<body >
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="loadin" loading="lazy" onload="loadrimg();"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s" loading="lazy"></div></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"><div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="spinner = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="spinner = false;"><button>Close</button></a></div> </div>
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="spin"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s"></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"> <div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="allowedtoload = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="allowedtoload = false;"><button>Close</button></a></div> </div>
|
||||
|
||||
<h1><a href="/">WiiMart</a></h1>
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="loadin" loading="lazy" onload="loadrimg();"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s" loading="lazy"></div></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"><div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="spinner = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="spinner = false;"><button>Close</button></a></div> </div>
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="spin"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s"></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"> <div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="allowedtoload = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="allowedtoload = false;"><button>Close</button></a></div> </div>
|
||||
|
||||
<h1><a href="/">WiiMart</a></h1>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
<style>input {margin-bottom: 15px;} #results {display:none;border-color:red;text-align:left} #results h2 {color:#FF0000;} #results p {color:#FF0000}</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="loadin" loading="lazy" onload="loadrimg();"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s" loading="lazy"></div></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"><div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="spinner = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="spinner = false;"><button>Close</button></a></div> </div>
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="spin"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s"></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"> <div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="allowedtoload = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="allowedtoload = false;"><button>Close</button></a></div> </div>
|
||||
|
||||
<h1><a href="/">WiiMart</a></h1>
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
<div class="box" id="results" style="transition:.3s easein-out; text-align:center;">
|
||||
<h2 id="code"></h2>
|
||||
<p id="issue"></p>
|
||||
<p><a href="javascript:reseterrorcodeform();" onclick="spinner = false;" style="color: #FF4242;cursor:pointer;text-align:center; text-decoration:underline;"><b>Check another error</b></a></p>
|
||||
<p><a href="javascript:reseterrorcodeform();" onclick="allowedtoload = false;" style="color: #FF4242;cursor:pointer;text-align:center; text-decoration:underline;"><b>Check another error</b></a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
12
index.html
12
index.html
@ -19,20 +19,20 @@
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
<style>.em {opacity:1; transition: opacity 0.5s ease-in-out;} .em.fade {opacity: 0;} #disclaimer {text-align:left;color: #929a9a; font-weight:Bold; font-size:10px;padding:0;height:23px; max-height:23px; width:100%; max-width:100%; display:block; margin-bottom:2px;margin-top:-8px; white-space: nowrap; overflow:auto hidden; scrollbar-width: none; -ms-overflow-style: none;} #disclaimer::-webkit-scrollbar {display:none;}</style>
|
||||
</head>
|
||||
<body onload="WiiMartWednesday(); loadafterwednesdaycheck();">
|
||||
<body onload="setTimeout(function(){WiiMartWednesday();},50);">
|
||||
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="loadin" loading="lazy" onload="loadrimg();"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s" loading="lazy"></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"><div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="spinner = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="spinner = false;"><button>Close</button></a></div> </div>
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="spin"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s"></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"> <div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="allowedtoload = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="allowedtoload = false;"><button>Close</button></a></div> </div>
|
||||
|
||||
<h1>WiiMart</h1>
|
||||
<nav><a href="install" class="btn">Install</a> <a href="support" class="btn">Support</a> <a href="errors" class="btn">Errors</a> <a href="branding" class="btn">Branding</a> <a href="specials" class="btn">Specials</a> <a href="credits" class="btn">Credits</a></nav>
|
||||
|
||||
<script>function WiiMartWednesday() {const today = new Date(); const dayOfWeek = today.getDay();if (dayOfWeek === 3) {const wednesdayDiv = document.getElementById('wednesdaytitles'); if (wednesdayDiv) {wednesdayDiv.style.display = 'block';} }}; function whatiswmw() {const wswbox = document.getElementById("whatiswsw"); const bg = document.getElementById("backgroundd"); wswbox.style.display="block"; bg.style.display="block"; bg.style.backgroundImage=('url("/meta/fadebg-wmw.png")'); } function whatiswmwclose() { const wswbox = document.getElementById("whatiswsw"); const bg = document.getElementById("backgroundd"); wswbox.style.display="none"; bg.style.display="none";}</script>
|
||||
<div class="box" id="wednesdaytitles" style="display:none"><mark class="new" style="margin-right:5px;"><span id="NEWtext">NEW</span></mark>It's WiiMart Wednesday, The catalog has been updated with new games! <br><a href="javascript:whatiswmw();" onclick="spinner = false;" style="font-size:11px; font-style:italic; cursor:help;" id="helpwed">What is WiiMart Wednesday?</a></div><div class="box" id="whatiswsw" style="display:none; padding:0;"><header style="background-color:#34BEED;color:white;font-weight:bold;margin-bottom:10px">What is WiiMart Wednesday?</header><p>"Update Day" also known as "Wii Shop Wednesday is a song that Nirvana The Band The Show made. <br> it was a song about the latest games added to the shop channel on that wednesday as they sang to the titles on the catalog pages. We decided to bring it back and now every wednesday, new games are added to the WiiMart catalog.<BR><a href="https://www.youtube.com/watch?v=XQ0lnz1iv3k&t=0s" target="_blank">Visit this link to watch the Update day video</a></p><button onclick="whatiswmwclose();">Close</button></div>
|
||||
<div class="box" id="wednesdaytitles" style="display:none"><mark class="new" style="margin-right:5px;"><span id="NEWtext">NEW</span></mark>It's WiiMart Wednesday, The catalog has been updated with new games! <br><a href="javascript:whatiswmw();" onclick="allowedtoload = false;" style="font-size:11px; font-style:italic; cursor:help;" id="helpwed">What is WiiMart Wednesday?</a></div><div class="box" id="whatiswsw" style="display:none; padding:0;"><header style="background-color:#34BEED;color:white;font-weight:bold;margin-bottom:10px">What is WiiMart Wednesday?</header><p>"Update Day" also known as "Wii Shop Wednesday is a song that Nirvana The Band The Show made. <br> it was a song about the latest games added to the shop channel on that wednesday as they sang to the titles on the catalog pages. We decided to bring it back and now every wednesday, new games are added to the WiiMart catalog.<BR><a href="https://www.youtube.com/watch?v=XQ0lnz1iv3k&t=0s" target="_blank">Visit this link to watch the Update day video</a></p><button onclick="whatiswmwclose();">Close</button></div>
|
||||
|
||||
<div class="row">
|
||||
<div class="box" style="padding: 0;">
|
||||
<header style="background-color:#34BEED;color:white;font-weight:bold;margin-bottom:10px">Important Info:</header>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #18 <span class="date">08-06</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -49,7 +49,7 @@
|
||||
</ul>
|
||||
<p>Two additional missing channels, <i>Amazon/LOVEFiLM</i> and <i>Crunchyroll</i>, have been added.</p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>Update your WiiMart! <span class="date"><img src="meta/em-pinned.svg" style="width:20px;height:20px;vertical-align:middle"> 05-02</span></summary>
|
||||
<p id="detailsinfo">Since May 2nd, WiiMart has been relocated to a new domain. For this update, you'll need to download new WADs. Go to the <a href="install">Install</a> page.</p>
|
||||
</details>
|
||||
@ -68,7 +68,7 @@
|
||||
<p><a href="install" class="btn" style="font-size: larger;">Get Started</a></p>
|
||||
<div class="gallery" style="margin-bottom:10px">
|
||||
<img src="media/screenshot-start-menu.png" class="slide" loading="lazy" alt="screenshot" title="the recommended titles present in the image aren't the lastest added titles, check the Important Info: box on the top of the page for the latest." >
|
||||
<img src="media/screenshot-main-menu.png" class="slide" loading="lazy" alt="screenshot>
|
||||
<img src="media/screenshot-main-menu.png" class="slide" loading="lazy" alt="screenshot">
|
||||
<img src="media/screenshot-catalog.png" class="slide" loading="lazy" alt="screenshot">
|
||||
<img src="media/screenshot-game.png" class="slide" loading="lazy" alt="screenshot">
|
||||
<img src="media/screenshot-news.png" class="slide" loading="lazy" alt="screenshot" title="the info present in the image isnt about the lastest added titles, check the Important Info: box on the top of the page for the latest.">
|
||||
|
@ -18,7 +18,7 @@
|
||||
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
||||
</head>
|
||||
<body>
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="loadin" loading="lazy" onload="loadrimg();"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s" loading="lazy"></div></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"><div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="spinner = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="spinner = false;"><button>Close</button></a></div> </div>
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="spin"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s"></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"> <div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="allowedtoload = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="allowedtoload = false;"><button>Close</button></a></div> </div>
|
||||
|
||||
<nav style="margin-bottom:0"><a href="/" class="btn">Back to WiiMart.org</a></nav>
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
<!-- Each summary can't be too long or else it'll start a new line with the date on smaller windows -->
|
||||
<div class="box" style="padding:0;padding-bottom:10px">
|
||||
<header style="background-color:#34BEED;color:white;font-weight:bold;margin-bottom:10px">Important Info:</header>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #18 <span class="date">08-06</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -43,7 +43,7 @@
|
||||
</ul>
|
||||
<p>Two additional missing channels, <i>Amazon/LOVEFiLM</i> and <i>Crunchyroll</i>, have been added.</p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #17 <span class="date">07-30</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -59,7 +59,7 @@
|
||||
<li><img src="meta/em-flash.png" class="pf"> <i>Penguin Diner</i> <a href="credits#Idkwh"><img src="media/em-idkwh.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #16 <span class="date">07-23</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -75,7 +75,7 @@
|
||||
<li><img src="meta/em-flash.png" class="pf"> <i>Asgore Runs Over Dess</i> <a href="credits#Yoshi"><img src="media/em-yoshi.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #15 <span class="date">07-16</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -91,7 +91,7 @@
|
||||
<li><img src="meta/em-flash.png" class="pf"> <i>Feature Presentation</i> <a href="credits#Idkwh"><img src="media/em-idkwh.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #14 <span class="date">07-09</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -104,7 +104,7 @@
|
||||
<li><img src="meta/em-flash.png" class="pf"> <i>東方 Bad Apple!! PV 影絵</i> <a href="credits#Subnetic"><img src="media/em-subnetic.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #13 <span class="date">07-02</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -122,7 +122,7 @@
|
||||
<li><img src="meta/em-flash.png" class="pf"> <i>Luigi's Revenge Interactive</i> <a href="credits#Onion"><img src="media/em-onion.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #12 <span class="date">06-25</span></summary>
|
||||
<p>These titles were added this Wednesday. To celebrate the 34th birthday of Sonic on June 23rd some additional Sonic titles have been included!</p>
|
||||
<ul>
|
||||
@ -143,7 +143,7 @@
|
||||
<li><img src="meta/em-vc-genesis.png" class="pf"> <i>Silver Sonic: The Revenge</i> <a href="credits#Subnetic"><img src="media/em-subnetic.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #11 <span class="date">06-18</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -160,7 +160,7 @@
|
||||
</ul>
|
||||
<p>An update was also made to the WiiWare title <i>Pokémon Rumble: Weekend Edition</i>.</p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #10 <span class="date">06-11</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -176,15 +176,15 @@
|
||||
<li><img src="meta/em-vc-genesis.png" class="pf"> <i>The Jungle Book</i> <a href="credits#Dustin"><img src="media/em-dustin.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>Important Info section created <span class="date">06-09</span></summary>
|
||||
<p>The <b>Important Info</b> section was added on June 10th. This section is not corresponding to the one seen on the Wii Shop Channel.</p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart is down for maintenance. <span class="date">06-07</span></summary>
|
||||
<p>The WiiMart service is currently offline as we are handling DSiMart testing.</p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #9 <span class="date">06-04</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -199,7 +199,7 @@
|
||||
<li><img src="meta/em-vc-snes.png" class="pf"> <i>Pocky & Rocky</i> <a href="credits#Onion"><img src="media/em-onion.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #8 <span class="date">05-28</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -215,11 +215,11 @@
|
||||
<li><img src="meta/em-vc-snes.png" class="pf"> <i>Super Puyo Puyo 2</i> <a href="credits#Onion"><img src="media/em-onion.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>Specials for 3DS and Wii U <span class="date">05-21</span></summary>
|
||||
<p>Check out the <a href="specials">Specials</a> page to see the new specials.</p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #7 <span class="date">05-21</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -234,7 +234,7 @@
|
||||
<li><img src="meta/em-vc-snes.png" class="pf"> <i>Super Robot Wars 3</i> <a href="credits#Onion"><img src="media/em-onion.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #6 <span class="date">05-14</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -249,7 +249,7 @@
|
||||
<li><img src="meta/em-flash.png" class="pf"> <i>Tails' Nightmare 2</i> <small>US/EU only</small> <a href="credits#Subnetic"><img src="media/em-subnetic.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #5 <span class="date">05-07</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -270,16 +270,16 @@
|
||||
</ul>
|
||||
<p>This was the first WiiMart Wednesday with server hoster Selim.</p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>Update your WiiMart! <span class="date">05-02</span></summary>
|
||||
<p>Since May 2nd WiiMart has been relocated to a new domain. For this update you'll need to download new WADs. Go to the <a href="install">Install</a> page.</p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>Title spreadsheet <span class="date">04-23</span></summary>
|
||||
<p>If you want to find a specific game or just want to see what is in WiiMart you can use my newly made spreadsheet. It has information of all the titles on WiiMart USA only at the moment.</p>
|
||||
<p><a href="title-sheet" class="btn">Spreadsheet</a></p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #4 Bonus <span class="date">04-22</span></summary>
|
||||
<ul>
|
||||
<li>Line Attack Heroes</li>
|
||||
@ -289,7 +289,7 @@
|
||||
<li>Yoshi’s Cookie</li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #4 <span class="date">04-22</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -362,7 +362,7 @@
|
||||
</ul>
|
||||
<p>This was the last WiiMart Wednesday with server hoster Larsenv.</p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #3 <span class="date">04-15</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -403,7 +403,7 @@
|
||||
<li><img src="meta/em-flash.png" class="pf"> <i>Wubbzy's Amazing Adventure</i> <a href="credits#Subnetic"><img src="media/em-subnetic.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #2 <span class="date">04-08</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -416,12 +416,12 @@
|
||||
<li><img src="meta/em-flash.png" class="pf"> <i>X-Tract Paperclip</i> <a href="credits#Subnetic"><img src="media/em-subnetic.png"></a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>Error Code Checker <span class="date">04-05</span></summary>
|
||||
<p>WiiMart's website now has an error code checker! If you see an error code in the shop you can look it up here and troubleshoot accordingly.</p>
|
||||
<p><a href="errors" class="btn">Checker</a></p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>WiiMart Wednesday #1 <span class="date">04-02</span></summary>
|
||||
<p>These titles were added this Wednesday.</p>
|
||||
<ul>
|
||||
@ -439,11 +439,11 @@
|
||||
</ul>
|
||||
<p>This was the first WiiMart Wednesday with server hoster Larsenv.</p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>Public launch <span class="date">03-12</span></summary>
|
||||
<p>This day was the date that WiiMart became known publicly. It (and the day after) is considered the public release of WiiMart in beta.</p>
|
||||
</details>
|
||||
<details class="details-impt-info">
|
||||
<details>
|
||||
<summary>Server creation <span class="date">03-09</span></summary>
|
||||
<p>The Discord server was released on March 9th. A few members were in the server while it was private.</p>
|
||||
</details>
|
||||
|
208
meta/music.js
208
meta/music.js
@ -1,90 +1,96 @@
|
||||
// Wii Shop BGM Player, suggested by @legamer66 (https://discord.com/channels/1346485785284575335/1346485786039681056/1351527080546009259)
|
||||
var bgmplayercompatable = false; var savedTime = localStorage.getItem("bgmlooppoint");
|
||||
function hideConsoleControls() {
|
||||
const userAgent = navigator.userAgent.toLowerCase();
|
||||
const isConsoleBrowser =
|
||||
userAgent.includes('wii') ||
|
||||
userAgent.includes('nintendo ds') ||
|
||||
userAgent.includes('nintendo 3ds') ||
|
||||
userAgent.includes('nintendo');
|
||||
// they can't play music so rip
|
||||
if (isConsoleBrowser) {bgmplayercompatable = false; const bgmPlayerDiv = document.getElementById('bgmplayer'); if (bgmPlayerDiv) {document.body.removeChild(bgmPlayerDiv);} else {bgmplayercompatable = true;} }
|
||||
|
||||
var wscmusic = null; var browsercanplayaudio = false; var browserchecksdone = 0; var initialvolume = 0.01; var currenttiime = localStorage.getItem("bgmcurrenttime") || 0;
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
|
||||
checkbrowsercompatability();
|
||||
if (browserchecksdone === 1) {
|
||||
setTimeout(loadwscmusic,200); // less load on browser :)
|
||||
firebgmbox();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
function checkbrowsercompatability() {
|
||||
const userAgent = navigator.userAgent.toLowerCase();
|
||||
const isConsoleBrowser = userAgent.includes('wii') || userAgent.includes('nintendo ds') || userAgent.includes('nintendo 3ds') || userAgent.includes('nintendo');
|
||||
if (isConsoleBrowser) {
|
||||
browsercanplayaudio = false;
|
||||
} else
|
||||
{
|
||||
browsercanplayaudio = true;
|
||||
}
|
||||
|
||||
var shoploop = null; // yes, it will cry about "Invalid URL."
|
||||
var initialvolume = 0 || 0.0;
|
||||
browserchecksdone = 1;
|
||||
|
||||
function bgmaudioloader() { if (!shoploop) {shoploop = new Audio("/meta/shop.wav"); shoploop.loop = true; shoploop.volume = initialvolume;} return shoploop;}
|
||||
|
||||
/* what idk, only for index.html */
|
||||
|
||||
function loadafterwednesdaycheck() {
|
||||
setTimeout(wednesdayyeeeee,100);
|
||||
}
|
||||
function wednesdayyeeeee() {
|
||||
hideConsoleControls();
|
||||
document.getElementById('bgmplayer').style.display="block";
|
||||
if (savedTime) {
|
||||
shoploop = bgmaudioloader();
|
||||
shoploop.currentTime = parseFloat(savedTime);
|
||||
|
||||
|
||||
/* reduce stress on browsers */
|
||||
function loadwscmusic() {
|
||||
var wscmusicloaded = 0;
|
||||
wscmusic = new Audio("/meta/shop.wav");
|
||||
wscmusic.load(); wscmusicloaded = 1; wscmusic.loop = true; document.getElementById("bgmplayer").style.display="block";
|
||||
return wscmusic;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* wscmusic = loadwscmusic(); */
|
||||
|
||||
function playBGMonload() {
|
||||
|
||||
if (currenttiime > 0) {
|
||||
wscmusic.currentTime=currenttiime;
|
||||
wscmusic.volume = initialvolume;
|
||||
fadeinbgm();
|
||||
}
|
||||
}
|
||||
|
||||
function playBGM() {
|
||||
wscmusic.play();
|
||||
document.getElementById("shopbgm").innerText = "Pause";
|
||||
document.getElementById("shopbgmselector").href = "javascript:pauseBGM();";
|
||||
}
|
||||
|
||||
function pauseBGM() {wscmusic.pause(); document.getElementById("shopbgm").innerText = "Play"; document.getElementById("shopbgmselector").href = "javascript:playBGM();";}
|
||||
|
||||
function fadeinbgm() {
|
||||
wscmusic.play();
|
||||
var volchangee = setTimeout(fadeinbgm,13); document.getElementById("shopbgm").setAttribute("disabled","true"); document.getElementById("shopbgm").innerText = "Pause";
|
||||
|
||||
if (initialvolume < 0.8) {
|
||||
initialvolume += 0.01; wscmusic.volume = initialvolume;
|
||||
}
|
||||
if (initialvolume > 0.8) {
|
||||
clearTimeout(volchangee); initialvolume = 0.8; wscmusic.volume = 0.8;
|
||||
document.getElementById("shopbgmselector").href = "javascript:pauseBGM();";
|
||||
document.getElementById("shopbgm").removeAttribute("disabled");
|
||||
document.getElementById("shopbgm").style.opacity="90%";
|
||||
}
|
||||
|
||||
if (localStorage.getItem("wmtwebsiteBGM") === "playing") {
|
||||
activatebgmplayerfocus();
|
||||
document.getElementById("shopbgm").innerText = "Play";
|
||||
document.getElementById("shopbgmselector").href = "javascript:playBGMonload();";
|
||||
} else {
|
||||
pauseBGM();
|
||||
deactivatebgmplayer();
|
||||
shoploop = bgmaudioloader();
|
||||
shoploop.currentTime = 0;
|
||||
bgmlooppoint = 0;
|
||||
var wmtwebsiteBGMwasplaying = localStorage.getItem("wmtwebsiteBGM");
|
||||
if (wmtwebsiteBGMwasplaying === 'paused') {
|
||||
if (savedTime) {shoploop = bgmaudioloader(); shoploop.currentTime = parseFloat(savedTime);}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/* what idk, only for index.html */
|
||||
|
||||
|
||||
|
||||
/* bgm check for all pages */
|
||||
|
||||
|
||||
window.onload = function() {
|
||||
setTimeout(allpagesonload,100); // reduce browser load on initial load
|
||||
};
|
||||
window.onbeforeunload = function() {
|
||||
shoploop = bgmaudioloader(); localStorage.setItem("bgmlooppoint", shoploop.currentTime);
|
||||
};
|
||||
|
||||
function allpagesonload() {
|
||||
if (bgmplayercompatable === true) {
|
||||
document.getElementById('bgmplayer').style.display="block";
|
||||
var wmtwebsiteBGMwasplaying = localStorage.getItem("wmtwebsiteBGM");
|
||||
|
||||
if (wmtwebsiteBGMwasplaying === 'playing') {
|
||||
activatebgmplayerfocus();
|
||||
document.getElementById("shopbgmselector").href = "javascript:playBGMonload();";
|
||||
} else {
|
||||
shoploop = bgmaudioloader(); shoploop.currentTime = 0;
|
||||
bgmlooppoint = 0;
|
||||
window.onbeforeunload = function () {
|
||||
/* just found out this doesnt work for safari, womp womp */
|
||||
if (wscmusic) { localStorage.setItem("bgmcurrenttime",wscmusic.currentTime);};
|
||||
}
|
||||
|
||||
if (wmtwebsiteBGMwasplaying === 'paused') {
|
||||
var savedTime = localStorage.getItem("bgmlooppoint");
|
||||
if (savedTime) {shoploop = bgmaudioloader(); shoploop.currentTime = parseFloat(savedTime);}
|
||||
|
||||
}
|
||||
}
|
||||
/* bgm player show */
|
||||
|
||||
function firebgmbox() {
|
||||
var currenttiime = localStorage.getItem("bgmcurrenttime") || 0;
|
||||
|
||||
if (currenttiime > 0) {
|
||||
activatebgmplayerfocus();
|
||||
document.getElementById("shopbgmselector").href = "javascript:playBGMonload();";
|
||||
}
|
||||
}
|
||||
|
||||
/* bgm check for all pages */
|
||||
|
||||
function activatebgmplayerfocus() {
|
||||
bgmplayerfocus();
|
||||
document.getElementById('bgmplayer').classList.add('bgmplayeropenanim');
|
||||
@ -98,64 +104,6 @@ function bgmplayerfocus() {
|
||||
setTimeout(function(){ document.getElementById('bgmplayer').classList.remove('bgmplayeropenanim'); document.getElementById('bgmplayer').classList.add('bgmplayerdisplayed'); document.getElementById("bgmplayer").style.backgroundImage='url("/meta/fadebg-bgm.png")'; document.getElementById("bgmplayer").style.backgroundColor="#0000"; document.getElementById("bgmplayer").style.border="2px solid #34BEED"; document.getElementById("backgroundd").style.display="none";},500);
|
||||
}
|
||||
|
||||
|
||||
function playBGM() {
|
||||
initialvolume = 0.8;
|
||||
shoploop = bgmaudioloader(); shoploop.volume = initialvolume;
|
||||
localStorage.setItem("wmtwebsiteBGM", "playing");
|
||||
shoploop = bgmaudioloader(); shoploop.play();
|
||||
document.getElementById("shopbgm").innerText = "Pause";
|
||||
document.getElementById("shopbgmselector").href = "javascript:pauseBGM();";
|
||||
}
|
||||
|
||||
function pauseBGM() {
|
||||
localStorage.setItem("wmtwebsiteBGM", "paused");
|
||||
shoploop = bgmaudioloader(); shoploop.pause();
|
||||
document.getElementById("shopbgm").innerText = "Play";
|
||||
document.getElementById("shopbgmselector").href = "javascript:playBGM();";
|
||||
}
|
||||
|
||||
function playBGMonload() {
|
||||
// this version has it fade in for smoother experince between pages (i could of used set interval, but memory issues?)
|
||||
initialvolume = 0;
|
||||
fadeinbgm();
|
||||
localStorage.setItem("wmtwebsiteBGM", "playing");
|
||||
shoploop = bgmaudioloader();
|
||||
shoploop.play();
|
||||
/*
|
||||
document.getElementById("shopbgm").innerText = ".....";
|
||||
document.getElementById("shopbgmselector").href = 'javascript:alert("the bgm is still fading, hold on, you can click once its done!");';
|
||||
*/
|
||||
document.getElementById("shopbgm").setAttribute("disabled", "true");
|
||||
document.getElementById("shopbgm").innerText = "Pause";
|
||||
document.getElementById("shopbgmselector").href="#";
|
||||
document.getElementById("shopbgm").style.opacity="50%";
|
||||
shoploop.currentTime = localStorage.getItem("bgmlooppoint");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function fadeinbgm() {
|
||||
var volchangee = setTimeout(fadeinbgm,13);
|
||||
if (initialvolume < 0.8) {
|
||||
initialvolume += 0.01;
|
||||
}
|
||||
if (initialvolume > 0.8) {
|
||||
clearTimeout(volchangee);
|
||||
initialvolume = 0.8;
|
||||
document.getElementById("shopbgmselector").href = "javascript:pauseBGM();";
|
||||
document.getElementById("shopbgm").innerText = "Pause";
|
||||
document.getElementById("shopbgm").removeAttribute("disabled");
|
||||
document.getElementById("shopbgm").style.opacity="90%";
|
||||
}
|
||||
shoploop = bgmaudioloader(); shoploop.volume = initialvolume;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function activatebgmplayer() {
|
||||
document.getElementById('bgmplayer').classList.add('bgmplayerdisplayed');
|
||||
document.getElementById("shopbgm").innerText = "Play";
|
||||
|
@ -20,7 +20,7 @@
|
||||
<style>input {margin-bottom: 15px;max-width:50px} ul {text-align:left} li a {text-decoration:none} </style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="loadin" loading="lazy" onload="loadrimg();"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s" loading="lazy"></div></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"><div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="spinner = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="spinner = false;"><button>Close</button></a></div> </div>
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="spin"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s"></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"> <div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="allowedtoload = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="allowedtoload = false;"><button>Close</button></a></div> </div>
|
||||
|
||||
<h1><a href="/">WiiMart</a></h1>
|
||||
|
||||
|
20
support.html
20
support.html
@ -26,7 +26,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body >
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="loadin" loading="lazy" onload="loadrimg();"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s" loading="lazy"></div></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"><div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="spinner = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="spinner = false;"><button>Close</button></a></div> </div>
|
||||
<div id="backgroundd" style="display:none;"></div><div id="wscspinnerbg" style="display:none;"><img id="wscspinner" src="/meta/grey-loader.png" alt="spin"><img id="wscspinnershadow" src="/meta/grey-loader.png" alt="s"></div><div class="box" id="bgmplayer" onclick="activatebgmplayer();" style="display:none;"> <div id="bgmplayerBG"></div> <div id="mainplayer"><p id="bgmplrtitle">bgm plr..</p><a href="javascript:playBGM();" onclick="allowedtoload = false;" id="shopbgmselector" title="Enable audio autoplay in your browser for it to continue playing throughout the website."><button id="shopbgm">....</button></a><a href="javascript:deactivatebgmplayer();" onclick="allowedtoload = false;"><button>Close</button></a></div> </div>
|
||||
|
||||
<h1><a href="/">WiiMart</a></h1>
|
||||
|
||||
@ -72,7 +72,7 @@
|
||||
<img src="media/screenshot-priiloader-help-3.png" class="slide" alt="Priiloader settings">
|
||||
<img src="media/screenshot-priiloader-help-5.png" class="slide" alt="Priiloader saved settings">
|
||||
</div>
|
||||
<p>Install <a href="https://wii.hacks.guide/priiloader" target="_blank" onclick="spinner = false;">Priiloader</a> and enable the
|
||||
<p>Install <a href="https://wii.hacks.guide/priiloader">Priiloader</a> and enable the
|
||||
<b>Region Free EVERYTHING</b> option in System Menu Hacks, then launch it again.</p>
|
||||
|
||||
<h3 id="OldBanner">What is the old banner WiiMart?</h3>
|
||||
@ -88,13 +88,13 @@
|
||||
<h3 id="uninstall">How can I uninstall WiiMart?</h3>
|
||||
<p>Install the following WADs, they will overwrite WiiMart and the patched IOS associated.</p>
|
||||
<h4>Wii</h4>
|
||||
<p><a href="wad/IOS56(WiiOriginal).wad" class="btn" onclick="spinner = false;">Download IOS56 for Wii</a></p>
|
||||
<p><a href="wad/IOS80(WiiOriginal).wad" class="btn" onclick="spinner = false;">Download IOS80 for Wii</a></p>
|
||||
<p><a href="wad/WiiShop(WiiOriginal).wad" class="btn" onclick="spinner = false;">Download Wii Shop for Wii</a></p>
|
||||
<p><a href="wad/IOS56(WiiOriginal).wad" class="btn">Download IOS56 for Wii</a></p>
|
||||
<p><a href="wad/IOS80(WiiOriginal).wad" class="btn">Download IOS80 for Wii</a></p>
|
||||
<p><a href="wad/WiiShop(WiiOriginal).wad" class="btn">Download Wii Shop for Wii</a></p>
|
||||
<h4>vWii</h4>
|
||||
<p><a href="wad/IOS56(vWiiOriginal).wad" class="btn" onclick="spinner = false;">Download IOS56 for vWii</a></p>
|
||||
<p><a href="wad/IOS80(vWiiOriginal).wad" class="btn" onclick="spinner = false;">Download IOS80 for vWii</a></p>
|
||||
<p><a href="wad/WiiShop(vWiiOriginal).wad" class="btn" onclick="spinner = false;">Download Wii Shop for vWii</a></p>
|
||||
<p><a href="wad/IOS56(vWiiOriginal).wad" class="btn">Download IOS56 for vWii</a></p>
|
||||
<p><a href="wad/IOS80(vWiiOriginal).wad" class="btn">Download IOS80 for vWii</a></p>
|
||||
<p><a href="wad/WiiShop(vWiiOriginal).wad" class="btn">Download Wii Shop for vWii</a></p>
|
||||
</div>
|
||||
|
||||
<h2>Project-related</h2>
|
||||
@ -127,7 +127,7 @@
|
||||
<details>
|
||||
<summary>If you are on vWii and don't see the Wii System Settings, click here!</summary>
|
||||
<h2>Re-enabling Wii System Settings</h2>
|
||||
<p>Install <a href="https://wii.hacks.guide/priiloader" onclick="spinner = false;" target="_blank">Priiloader</a> and load in to it.</p>
|
||||
<p>Install <a href="https://wii.hacks.guide/priiloader">Priiloader</a> and load in to it.</p>
|
||||
<img src="media/screenshot-priiloader-help-2.png" alt="Priilaoder main menu">
|
||||
<p>Go to <b>System Menu Hacks</b></p>
|
||||
<img src="media/screenshot-priiloader-help-4.png" alt="Priiloader settings">
|
||||
@ -143,7 +143,7 @@
|
||||
<summary><img src="media/screenshot-eula-help-2-issue.png" alt="vWii update dialog">If you are on vWii and you see this message, click here!</summary>
|
||||
<h2>Manually Downloading the EULA</h2>
|
||||
<p>Before you go to the User Agreements you will need to install the vWii EULA applet.</p>
|
||||
<p>Download the <a href="https://oscwii.org/library/app/system-channel-restorer" onclick="spinner = false;" target="_blank">System Channel Restorer</a> app and launch it from The Homebrew Channel, select EULA (and some other channels you might like as well).</p>
|
||||
<p>Download the <a href="https://oscwii.org/library/app/system-channel-restorer">System Channel Restorer</a> app and launch it from The Homebrew Channel, select EULA (and some other channels you might like as well).</p>
|
||||
<img src="media/screenshot-scr-1.png" alt="Restorer main menu">
|
||||
<p>The homebrew app will look like this.</p>
|
||||
<img src="media/screenshot-scr-2.png" alt="Restorer, EULA hovered">
|
||||
|
Loading…
x
Reference in New Issue
Block a user