このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
javascript:enchant:index [2020/06/26 16:07] coatly |
javascript:enchant:index [2022/06/10 17:23] (現在) fensalir |
||
---|---|---|---|
行 1: | 行 1: | ||
+ | < | ||
+ | <script type=" | ||
+ | function calc_total(){ | ||
+ | success_rate = 0; | ||
+ | for (i=0; i< | ||
+ | if (document.calculator.elements[i].checked == true){ | ||
+ | success_rate += parseInt(document.calculator.elements[i].value); | ||
+ | } | ||
+ | } | ||
+ | document.calculator.total.value = success_rate + " %"; | ||
+ | } | ||
+ | function result_clear() { | ||
+ | var ElementsCount = document.calculator.elements.length; | ||
+ | for( j=0 ; j< | ||
+ | document.calculator.elements[j].checked = false; | ||
+ | } | ||
+ | | ||
+ | } | ||
+ | </ | ||
+ | <div class=" | ||
+ | <form name=" | ||
+ | < | ||
+ | < | ||
+ | <tr> | ||
+ | <th rowspan=5> | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th rowspan=2> | ||
+ | < | ||
+ | | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th rowspan=2> | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <th rowspan=2> | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | </tr> | ||
+ | <tr> | ||
+ | < | ||
+ | <td> | ||
+ | <input type=" | ||
+ | </td> | ||
+ | </tr> | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | </ |