From 3c6e24d490717ce4490143963c7df8a196163d69 Mon Sep 17 00:00:00 2001 From: adplantade Date: Wed, 1 Jul 2020 15:05:45 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20=C3=A9cran=20accueil?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/{index.css => game.css} | 0 code/game.html | 47 +++++++++++++++++++++++++++++ code/game.php | 50 +++++++++++++++++++++++++++++++ code/index.html | 57 ++++++++---------------------------- code/index.php | 16 ++++++++++ code/selecteur.js | 21 +++++++++++++ 6 files changed, 147 insertions(+), 44 deletions(-) rename code/{index.css => game.css} (100%) create mode 100644 code/game.html create mode 100644 code/game.php create mode 100644 code/index.php create mode 100644 code/selecteur.js diff --git a/code/index.css b/code/game.css similarity index 100% rename from code/index.css rename to code/game.css diff --git a/code/game.html b/code/game.html new file mode 100644 index 0000000..8de8f0b --- /dev/null +++ b/code/game.html @@ -0,0 +1,47 @@ + + + + + On The Dot + + + + + + + + + + diff --git a/code/game.php b/code/game.php new file mode 100644 index 0000000..b692473 --- /dev/null +++ b/code/game.php @@ -0,0 +1,50 @@ + + + + + On The Dot + + + + + + + + + + diff --git a/code/index.html b/code/index.html index 9b05199..1afac93 100644 --- a/code/index.html +++ b/code/index.html @@ -1,47 +1,16 @@ - + - - On The Dot - - - - - - - - - + + \ No newline at end of file diff --git a/code/index.php b/code/index.php new file mode 100644 index 0000000..5667d8c --- /dev/null +++ b/code/index.php @@ -0,0 +1,16 @@ + + + + On the Dot + + +
+ +
+
+ +
+
+ + + \ No newline at end of file diff --git a/code/selecteur.js b/code/selecteur.js new file mode 100644 index 0000000..bfccbb9 --- /dev/null +++ b/code/selecteur.js @@ -0,0 +1,21 @@ +function $_GET(param) { + var vars = {}; + window.location.href.replace( location.hash, '' ).replace( + /[?&]+([^=&]+)=?([^&]*)?/gi, // regexp + function( m, key, value ) { // callback + vars[key] = value !== undefined ? value : ''; + } + ); + + if ( param ) { + return vars[param] ? vars[param] : null; + } + return vars; +} + +var get=$_GET(); + +if(get['mode']=="no-res") +{ + document.getElementById("canvasR").style.display="none"; +} \ No newline at end of file