stop highlighting of elements, make queue reset on expac swap

This commit is contained in:
Xiexe
2020-10-03 00:57:49 -04:00
parent 8894f42180
commit 275a2f544a
3 changed files with 60 additions and 43 deletions
+9
View File
@@ -10,6 +10,15 @@ html, body {
src: url('../fonts/FRIZQUAD.TTF');
}
.noSelect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#background {
background-color: #000;
position: fixed;
+6
View File
@@ -106,6 +106,12 @@ function manualChangeExpac()
function switchExpansion()
{
if(disconnected)
{
disconnected = false;
hideQueue();
showDisconnect();
}
queuePos = null;
getPositionInQueue();
+45 -43
View File
@@ -7,55 +7,57 @@
<script src="assets/js/audiohandler.js" type="text/javascript"></script>
</head>
<body onload="init();">
<!-- LOGO -->
<button class="xPacButton" id="logo" onclick="manualChangeExpac(); playButtonAudio(1);"></button>
<!--QUIT BUTTON-->
<div id="quitButtonContainer" class="foreground">
<button class="button" onclick="location.href='http://www.wowaholics.org/'; playButtonAudio(0);" > Quit </button>
</div>
<!--QUEUE BOX-->
<div class="centered" id="queue">
<img src="assets/img/ui/queuebox.png" id="queueBox">
<div class="noSelect">
<!-- LOGO -->
<button class="xPacButton" id="logo" onclick="manualChangeExpac(); playButtonAudio(1);"></button>
<div id="queueTextContainer">
<p class="queueText">Realm is Full</p>
<p class="queueText" id="queuePosition">Position in Queue: 0000</p>
<p class="queueText" id="queueTime">Estimated time: 999 min</p>
<!--QUIT BUTTON-->
<div id="quitButtonContainer" class="foreground">
<button class="button" onclick="location.href='http://www.wowaholics.org/'; playButtonAudio(0);" > Quit </button>
</div>
<button class="button" id="realmListButton" onclick="playButtonAudio(0); doDisconnect();"> Change Realm </button>
</div>
<!--QUEUE BOX-->
<div class="centered" id="queue">
<img src="assets/img/ui/queuebox.png" id="queueBox">
<div id="queueTextContainer">
<p class="queueText">Realm is Full</p>
<p class="queueText" id="queuePosition">Position in Queue: 0000</p>
<p class="queueText" id="queueTime">Estimated time: 999 min</p>
</div>
<button class="button" id="realmListButton" onclick="playButtonAudio(0); doDisconnect();"> Change Realm </button>
</div>
<!--DISCONNECT MESSAGE-->
<div class="centered" id="disconnectBox" style="display: none;">
<img src="assets/img/ui/queuebox.png" id="queueBox">
<div id="queueTextContainer">
<p class="queueText">You have been disconnected from the server.</p>
<p class="queueText">(WOW51900319)</p>
<!--DISCONNECT MESSAGE-->
<div class="centered" id="disconnectBox" style="display: none;">
<img src="assets/img/ui/queuebox.png" id="queueBox">
<div id="queueTextContainer">
<p class="queueText">You have been disconnected from the server.</p>
<p class="queueText">(WOW51900319)</p>
</div>
<button class="button" id="realmListButton" onclick="playButtonAudio(1);"> Okay </button>
</div>
<button class="button" id="realmListButton" onclick="playButtonAudio(1);"> Okay </button>
<!--COPYRIGHT TEXT-->
<div class="fullWidth">
<p id="copyrightText">Copyright 2004-2020 Blizzard Entertainment. All Right Reserved.</p>
</div>
<!--BUILD VER-->
<p id="buildVersion">Version 9.0.1 (35944) (Release x64)</p>
<!--BUILD DATE-->
<p id="buildDate">Oct 13 2020</p>
<!-- BACKGROUND -->
<video autoplay muted loop id="background">
<source src="assets/img/bg/Shadowlands.webm" type="video/webm">
</video>
</div>
<!--COPYRIGHT TEXT-->
<div class="fullWidth">
<p id="copyrightText">Copyright 2004-2020 Blizzard Entertainment. All Right Reserved.</p>
</div>
<!--BUILD VER-->
<p id="buildVersion">Version 9.0.1 (35944) (Release x64)</p>
<!--BUILD DATE-->
<p id="buildDate">Oct 13 2020</p>
<!-- BACKGROUND -->
<video autoplay muted loop id="background">
<source src="assets/img/bg/Shadowlands.webm" type="video/webm">
</video>
</body>
</html>