From: Matteo Nastasi Date: Mon, 4 May 2020 05:28:57 +0000 (+0200) Subject: seeds chooser updated and dynamic empty card use X-Git-Tag: v5.10.0~8 X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=21b3b1f15c52ad8703f470542b5d4092d10ec457 seeds chooser updated and dynamic empty card use --- diff --git a/web/briskin5/briskin5.css b/web/briskin5/briskin5.css index 8cef26e..9f44c2f 100644 --- a/web/briskin5/briskin5.css +++ b/web/briskin5/briskin5.css @@ -115,11 +115,13 @@ img.cover { z-index: 10; } +/* FIXME: dynamic seeds position */ img.seed0 { position: absolute; left: 0px; top: 55px; cursor: pointer; + border: 0; } img.seed1 { @@ -127,6 +129,7 @@ img.seed1 { left: 43px; top: 55px; cursor: pointer; + border: 0; } img.seed2 { @@ -134,6 +137,7 @@ img.seed2 { left: 93px; top: 55px; cursor: pointer; + border: 0; } img.seed3 { @@ -141,6 +145,7 @@ img.seed3 { left: 143px; top: 55px; cursor: pointer; + border: 0; } .area { diff --git a/web/briskin5/briskin5.js b/web/briskin5/briskin5.js index ad7aec7..9bd4a29 100644 --- a/web/briskin5/briskin5.js +++ b/web/briskin5/briskin5.js @@ -172,7 +172,7 @@ function choose_seed(card) $("astalascio").style.visibility = "hidden"; $("chooseed").style.visibility = "visible"; for (i = 0 ; i < 4 ; i++) { - $("seed"+i).src = "img/"+i+""+card+".png"; + $("seed"+i).setAttribute('data-card-id', '' + i + card); seed=$("seed"+i); eval("seed.onclick = function () { act_choose("+i+""+card+"); };"); } diff --git a/web/briskin5/index.php b/web/briskin5/index.php index 6d68367..fc69b40 100644 --- a/web/briskin5/index.php +++ b/web/briskin5/index.php @@ -151,51 +151,51 @@ window.onload = function() {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -262,14 +262,17 @@ window.onload = function() {
- - - - + + + + + +
Info
- + +