diff --git a/index.html b/index.html index 09e2d98..dc36ff0 100644 --- a/index.html +++ b/index.html @@ -100,7 +100,7 @@
4. 960
- +
@@ -132,7 +132,7 @@ class="cls-2" fill-rule="evenodd" /> - fb + facebook
  • diff --git a/js_v9/main.js b/js_v9/main.js index a181ea0..6c90e3b 100644 --- a/js_v9/main.js +++ b/js_v9/main.js @@ -56,6 +56,7 @@ function checkVisualElements() { if (!$('#pauseBtn').is(':visible')) $('#pauseBtn').fadeIn(150, "linear"); $('#fork-ribbon').fadeOut(150); if (!$('#restartBtn').is(':visible')) $('#restartBtn').fadeOut(150, "linear"); + if ($('#buttonCont').is(':visible')) $('#buttonCont').fadeOut(150, "linear"); } function hideUIElements() { diff --git a/js_v9/view.js b/js_v9/view.js index df2ef23..ac86466 100644 --- a/js_v9/view.js +++ b/js_v9/view.js @@ -182,7 +182,10 @@ function gameOverDisplay() { $("#attributions").show(); var c = document.getElementById("canvas"); c.className = "blur"; - showText('gameover'); + $("#gameoverscreen").fadeIn(); + $("#container").fadeIn(); + $("#socialShare").fadeIn(); + $("#restart").fadeIn(); } function pause(o) { @@ -198,6 +201,7 @@ function pause(o) { if (gameState == -1) { $('#fork-ribbon').fadeOut(150, 'linear'); $('#restartBtn').fadeOut(150, "linear"); + $('#buttonCont').fadeOut(150, "linear"); if ($('#helpScreen').is(':visible')) { $('#helpScreen').fadeOut(150, "linear"); } @@ -210,6 +214,7 @@ function pause(o) { }, 200) } else if (gameState != -2 && gameState !== 0 && gameState !== 2) { $('#restartBtn').fadeIn(150, "linear"); + $('#buttonCont').fadeIn(150, "linear"); $('.helpText').fadeIn(200, 'linear'); if (message == 'paused') { showText(message); diff --git a/style/style.css b/style/style.css index 758d905..6ceab61 100644 --- a/style/style.css +++ b/style/style.css @@ -368,10 +368,23 @@ body { } #gameoverscreen { + /*display:none;*/ +} +#container { + display:none +} +#restart{ display:none; +} +#socialShare{ + display:none; +} +#buttonCont{ + display block !important; } + .unselectable { -webkit-touch-callout: none; -webkit-user-select: none;