|
|
|
@ -15,18 +15,18 @@ function journuit(){
|
|
|
|
|
//changer logo swish
|
|
|
|
|
document.getElementById("imglogo").src = "imgs/swishjour.png";
|
|
|
|
|
document.getElementById("imglogo2").src = "imgs/swishjour.png";
|
|
|
|
|
/*//bouttonjouer
|
|
|
|
|
|
|
|
|
|
document.getElementById("fondinput").style.backgroundColor = lightsedonca;
|
|
|
|
|
document.getElementById("contourbuttonvalider").style.backgroundColor = lightsedonca;
|
|
|
|
|
document.getElementById("textjouer").style.color = lightsedonca;
|
|
|
|
|
document.getElementById("textplus").style.color = lightprima;*/
|
|
|
|
|
document.getElementById("textplus").style.color = lightprima;
|
|
|
|
|
//changer montagnesfond
|
|
|
|
|
document.getElementById("mount1").src = "imgs/mount1.png";
|
|
|
|
|
document.getElementById("mount2").src = "imgs/mount2.png";
|
|
|
|
|
//nuages
|
|
|
|
|
document.getElementById("cloud").src = "imgs/lightcloud.png";
|
|
|
|
|
//changer background color
|
|
|
|
|
//document.getElementById("containplayers").style.color = lightsedonca;
|
|
|
|
|
document.getElementById("containplayers").style.color = lightsedonca;
|
|
|
|
|
//maj couleur principales
|
|
|
|
|
document.documentElement.style.setProperty('--lightprima',lightprima);
|
|
|
|
|
document.documentElement.style.setProperty('--lightsedonca',lightsedonca);
|
|
|
|
@ -37,11 +37,11 @@ function journuit(){
|
|
|
|
|
//changer logo swish
|
|
|
|
|
document.getElementById("imglogo").src = "imgs/swishnuit.png";
|
|
|
|
|
document.getElementById("imglogo2").src = "imgs/swishnuit.png";
|
|
|
|
|
/*//bouttonjouer
|
|
|
|
|
//bouttonjouer
|
|
|
|
|
document.getElementById("fondinput").style.backgroundColor = darkseconda;
|
|
|
|
|
document.getElementById("contourbuttonvalider").style.backgroundColor = darkseconda;
|
|
|
|
|
document.getElementById("textjouer").style.color = darkseconda;
|
|
|
|
|
document.getElementById("textplus").style.color = darkprima;*/
|
|
|
|
|
document.getElementById("textplus").style.color = darkprima;
|
|
|
|
|
//changer montagnesfond
|
|
|
|
|
document.getElementById("mount1").src = "imgs/darkmount1.png";
|
|
|
|
|
document.getElementById("mount2").src = "imgs/darkmount2.png";
|
|
|
|
@ -194,8 +194,7 @@ function EnvoyerNouveauNom(){
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
Je n'avais rien à faire, je me suis amusé à faire l'ajout des joueurs
|
|
|
|
|
|
|
|
|
|
function addplayer(){
|
|
|
|
|
//j'ai mis une limite de 6joueurs, mais c'est à voir
|
|
|
|
|
if(nbplayers < 7){
|
|
|
|
@ -228,7 +227,7 @@ function ajouterplayer(event){
|
|
|
|
|
if(event.keyCode == 13)
|
|
|
|
|
addplayer();
|
|
|
|
|
}
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|