From f98e5debb16fdbd04742806c484aaa2d1e4e3d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Sat, 21 May 2011 13:56:55 +0200 Subject: [PATCH] =?UTF-8?q?=C3=89viter=20de=20lancer=20trop=20souvent=20le?= =?UTF-8?q?=20JSS()=20+=20affichage=20du=20score.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/serveur/php/jeu.php | 29 ++++++------ code/serveur/php/ressources/backend.inc | 8 ++-- code/serveur/php/ressources/my-extensions.js | 46 ++++++++++++++----- code/serveur/php/ressources/pticlic.js | 47 ++++++++++++++++++-- 4 files changed, 99 insertions(+), 31 deletions(-) diff --git a/code/serveur/php/jeu.php b/code/serveur/php/jeu.php index ee4f791..cf38525 100644 --- a/code/serveur/php/jeu.php +++ b/code/serveur/php/jeu.php @@ -27,8 +27,7 @@ border: medium solid #4a4; background-color:#f0f8d0; border-radius:0.4em; } .relationBox { border-width: 3px; border-style: solid; border-radius:1em; padding: 0.5em; width: 95%; margin: 0 auto; } - .formElement { width:30%; height: 10%; position:absolute; } - .fitFont, .subFitFont { overflow:auto; } + .formElement { width:46%; height: 10%; position:absolute; } #score { text-align:center; } .marginBox { width: 90%; height: 90%; top: 5%; left:5%; position:absolute; } #message { left:25%; top:5%; width:50%; height:10%; position:absolute; border-radius:0.5em; text-align:center; opacity:0.9; } @@ -107,11 +106,11 @@
-
-

Score total :

-
-

- J'ai vu ! +

+

Score total :

+
+

+ J'ai vu !

@@ -151,14 +150,14 @@
-
-
-
-
-
+
+
+
+
+
-
+
@@ -170,8 +169,8 @@
-
-
+
+