ajout d'un bouton pour revenir à l'accueil depuis la page de scores

master
adplantade 5 years ago
parent a87cbc138c
commit 0a6517e701

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

@ -80,8 +80,16 @@ if($_GET['pseudo']!="")
}
}
?>
<img id="btn_index" src="ress/button_index.png" onClick="index()"/>
<script>
size=screen.height/6;
document.getElementById("points").innerHTML = get['pts'];
document.getElementById("btn_index").width=size;
function index()
{
window.location.replace("./");
}
</script>
</body>
</html>

Loading…
Cancel
Save