From 88edd69bf07b18e83d78b70191d8a730885bcaa2 Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 26 Nov 2020 23:11:03 +0100 Subject: Aiding stretching points to 100% of contestants --- http/pkle2020a.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/http/pkle2020a.php b/http/pkle2020a.php index 4a8d9e8..00def57 100644 --- a/http/pkle2020a.php +++ b/http/pkle2020a.php @@ -161,6 +161,14 @@ function submitit(ev){ document.getElementsByName("typ")[0].select(); } } + + function obnizka(procent) { + var progi = [ procent / 25, procent / 5 * 2, procent ]; + for (var i = 0; i < 3; i++) { + document.getElementsByName("pru"+(i+1))[0].value = Math.round(progi[i]); + } + return false; + } --> @@ -245,7 +253,7 @@ function submitit(ev){   -
%%%
+
%%%
  @@ -268,6 +276,10 @@ function submitit(ev){ SUMA WK

Suma WK wszystkich
zawodników.
+ +
+ +
-- cgit v1.2.3