Removed Jquery from example pages

This commit is contained in:
vinibiavatti 2020-12-27 23:27:24 +00:00
parent 64b94b4f2c
commit 6dff41b95a
3 changed files with 20 additions and 9 deletions

View File

@ -33,6 +33,9 @@
Detecting Secondary Master ...: Skip<br>
Detecting Secondaty Slave ....: None
</div>
<div id="session-5" style="display: none">
<br>Found virus! The PC cannot be started. I'm Sorry :(
</div>
<div class="tui-statusbar absolute black white-text">
<ul>
<li style="margin-left: 0px">Press <b>DEL</b> to enter SETUP, <b>Alt+F2</b> to enter EZ flash utility
@ -45,11 +48,16 @@
</div>
</body>
<script>
$(document).ready(function() {
setTimeout(function() { $("#session-1").show(); }, 300);
setTimeout(function() { $("#session-2").show(); }, 400);
setTimeout(function() { $("#session-3").show(); }, 450);
setTimeout(function() { $("#session-4").show(); }, 870);
});
window.onload = function() {
setTimeout(function() { showSession("session-1"); }, 300);
setTimeout(function() { showSession("session-2"); }, 400);
setTimeout(function() { showSession("session-3"); }, 450);
setTimeout(function() { showSession("session-4"); }, 870);
setTimeout(function() { showSession("session-5"); }, 1500);
};
function showSession(id) {
const session = document.getElementById(id);
session.style.display = "block";
}
</script>
</html>

View File

@ -42,11 +42,11 @@
</div>
<script>
function digit(digit) {
let val = $("#display").val();
$("#display").val(digit + "" + val);
let val = document.getElementById("display").value;
document.getElementById("display").value = digit + "" + val;
}
function clearDisplay() {
$("#display").val("");
document.getElementById("display").value = "";
}
</script>
</body>

View File

@ -1,3 +1,5 @@
@import '../mixins.scss';
.tui-fieldset {
border: 6px white double;
padding: 12px;
@ -36,6 +38,7 @@
cursor: pointer;
outline:0;
padding: 2px;
@include disable-select;
&.left {
right: initial;