Skip to content

Commit

Permalink
1 file edited
Browse files Browse the repository at this point in the history
  • Loading branch information
Croc-Prog-github authored May 12, 2024
1 parent 24c61fc commit 04abbff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions game/multiP/onlineUser.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<button style="margin-inline: 5px;border: solid 1px black;border-bottom: solid 2px black;border-radius: 3px;text-shadow: 0px 1.4px 0px black;box-shadow: 0 2px 1px 0px #0000004d;color: white;background: dodgerblue;text-transform: uppercase;/*font-weight: bold;*/ cursor: pointer;">Entra con codice</button>
</div>

<input type="text" maxlength="6" id="SquadInp" oninput="EntraInSquad()" autocomplete="off" placeholder="ABC123" style="margin-top: 10px; width: 50%; font-size: 1.5em; text-transform: uppercase; user-select: all; outline-style: none; letter-spacing: 6px; text-align: center; font-weight: bold;">
<input type="text" maxlength="6" id="SquadInp" autocomplete="off" placeholder="ABC123" style="margin-top: 10px; width: 50%; font-size: 1.5em; text-transform: uppercase; user-select: all; outline-style: none; letter-spacing: 6px; text-align: center; font-weight: bold;">

<div style="display: flex; margin-top: 0.5em;">
<button hidden id="EsciDaSquad" style="margin-inline: 5px;border: solid 1px black;border-bottom: solid 2px black;border-radius: 3px;text-shadow: 0px 1.4px 0px black;box-shadow: 0 2px 1px 0px #0000004d;color: white; background: indianred; text-transform: uppercase;/*font-weight: bold;*/ cursor: pointer;">Esci dalla squadra</button>
Expand All @@ -84,7 +84,7 @@
</html>

<script> // Mostra/Nasconde EntraInSquad e verifica formato
document.getElementById('SquadInp').addEventListener('input', EntraInSquad());
document.getElementById('SquadInp').addEventListener('input', EntraInSquad);
let SquadInp = document.getElementById('SquadInp');
let EntraInSquad = document.getElementById('EntraInSquad');

Expand Down

0 comments on commit 04abbff

Please sign in to comment.