Removed unused cursor

This commit is contained in:
ElPumpo
2018-06-30 20:48:36 +02:00
parent 485802f7be
commit 59bf796e43
7 changed files with 5 additions and 25 deletions
-1
View File
@@ -28,7 +28,6 @@ files {
'html/ui.html',
'html/logo.png',
'html/dmv.png',
'html/cursor.png',
'html/styles.css',
'html/questions.js',
'html/scripts.js',
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

+3 -12
View File
@@ -1,18 +1,11 @@
// Mouse Controls
var documentWidth = document.documentElement.clientWidth;
var documentHeight = document.documentElement.clientHeight;
var cursor = $('#cursor');
var cursorX = documentWidth / 2;
var cursorY = documentHeight / 2;
//question variables
// question variables
var questionNumber = 1;
var userAnswer = [];
var goodAnswer = [];
var questionUsed = [];
var nbQuestionToAnswer = 10; // don't forget to change the progress bar max value in html
var nbAnswerNeeded = 1; // out of nbQuestionToAnswer
var nbPossibleQuestions = 10; //number of questions in database questions.js
var nbAnswerNeeded = 5; // out of nbQuestionToAnswer
var nbPossibleQuestions = 10; // number of questions in database questions.js
var lastClick = 0;
function getRandomQuestion() {
@@ -62,11 +55,9 @@ function openResultBad() {
}
function openContainer() {
$(".question-container").css("display", "block");
$("#cursor").css("display", "block");
}
function closeContainer() {
$(".question-container").css("display", "none");
$("#cursor").css("display", "none");
}
// Listen for NUI Events
-6
View File
@@ -3,12 +3,6 @@ html {
font-family: 'Open Sans', sans-serif;
}
#cursor {
position: absolute;
z-index: 99999999;
display: none;
}
.full-screen {
width: 100%;
height:100%;
+1 -5
View File
@@ -95,8 +95,4 @@
<script src="scripts.js" type="text/javascript"></script>
<script src="debounce.min.js" type="text/javascript"></script>
</body>
</body>
+1 -1
View File
@@ -95,4 +95,4 @@
<script src="scripts.js" type="text/javascript"></script>
<script src="debounce.min.js" type="text/javascript"></script>
</body>
</body>