mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
Removed unused cursor
This commit is contained in:
@@ -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',
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 94 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 KiB |
+3
-12
@@ -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
|
||||
|
||||
@@ -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
@@ -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
@@ -95,4 +95,4 @@
|
||||
<script src="scripts.js" type="text/javascript"></script>
|
||||
<script src="debounce.min.js" type="text/javascript"></script>
|
||||
|
||||
</body>
|
||||
</body>
|
||||
Reference in New Issue
Block a user