thank me later

This commit is contained in:
utkuali authored and GitHub committed 2020-05-03 03:28:11 +03:00
commit 37ba864213
46 files changed
+1017

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.
+11
View File
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<head>
<link rel="stylesheet" href="style.css" />
<script src="nui://game/ui/jquery.js"></script>
<script src="script.js" type="text/javascript"></script>
</head>
<html>
<body>
<img id="img" src="blank.png" alt=""/>
</body>
</html>
+34
View File
@@ -0,0 +1,34 @@
$('document').ready(function(){
$gif = $('img').first();
});
window.addEventListener("message", (event) => {
if (event.data.type === "intro") {
intro();
} else if (event.data.type === "success") {
success();
} else if (event.data.type == "fail") {
fail();
}
});
function intro() {
$gif.attr("src", "intro.gif");
setTimeout(function() {
$gif.attr('src', "blank.png");
}, 3500)
};
function success() {
$gif.attr("src", "success.gif");
setTimeout(function() {
$gif.attr('src', "blank.png");
}, 3000)
};
function fail() {
$gif.attr("src", "fail.gif");
setTimeout(function() {
$gif.attr('src', "blank.png");
}, 3000)
};
+9
View File
@@ -0,0 +1,9 @@
#img {
min-height: 100%;
min-width: 1024px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 MiB