사용자 도구

사이트 도구

    - Players

ecm_계산기

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
ecm_계산기 [2016/02/11 15:45]
Funzinnu
ecm_계산기 [2018/02/01 16:25]
Funzinnu
줄 1: 줄 1:
 +====== ECM 계산기 ======
 +<​html>​
 +<table style="​width:​100%;​ text-align:​center;">​
  
 +<script src="//​code.jquery.com/​jquery-1.11.3.min.js"></​script>​
 +
 +<tr>
 +      <td style="​width:​ 25%; background-color:​ #​131d27;">​
 +      <span style="​color:​ #​fff;">​ECM 강도</​span>​
 +      </td>
 +            ​
 +      <td style="​width:​ 25%; background-color:​ #​131d27;">​
 +      <span style="​color:​ #​fff;">​ECM 갯수</​span>​
 +      </td>
 +
 +      <td style="​width:​ 25%; background-color:​ #​131d27;">​
 +      <span style="​color:​ #​fff;">​타겟 센서 강도</​span>​
 +      </td>
 +
 +    <td style="​width:​ 25%; background-color:​ #​131d27;">​
 +     <​span style="​color:​ #​fff;">​재밍 확률</​span>​
 +    </td>
 +</tr>
 +
 +
 +<tr>
 +    <td style="​width:​ 25%; background-color:​ #​fff;">​
 +        <p style="​text-align:​ center;">​
 +        <form name="​form">​
 +        <input type="​number"​ id="​item_ecmSTR"​ size="​50"​ class="​inputbox"​ min="​1"​ max="​20"​ maxlength="​4"​ onkeyup="​calc(this.value)"​ onmouseup="​calc(this.value)"​ value="​5"​ style="​width:​ 100%; text-align: center;">​
 +        </p>
 +
 +    </td>
 +
 +    <td style="​width:​ 25%; background-color:​ #​fff;">​
 +        <p style="​text-align:​ center;">​
 +        <div style="​margin:​ auto;">​
 +            <input type="​number"​ id="​item_ecmNum"​ size="​50"​ class="​inputbox"​ min="​1"​ max="​8"​ maxlength="​4"​ onkeyup="​calc(this.value)"​ onmouseup="​calc(this.value)"​ value="​1"​ style="​width:​ 100%; text-align: center;">​
 +        </​div>​
 +        </p>
 +    </td>
 +    ​
 +    <td style="​width:​ 25%; background-color:​ #​fff;">​
 +    <p style="​text-align:​ center;">​
 +        <div style="​margin:​ auto;">​
 +            <input type="​number"​ id="​item_sensorSTR"​ size="​50"​ class="​inputbox"​ min="​1"​ max="​500"​ maxlength="​4"​ onkeyup="​calc(this.value)"​ onmouseup="​calc(this.value)"​ value="​20"​ style="​width:​ 100%; text-align: center;">​
 +        </​div>​
 +        </p>
 +    </td>
 +
 +
 +
 +    <td style="​width:​ 33%; background-color:​ #​fff;">​
 +        <p style="​text-align:​ center;">​
 +            <h3 id="​item_result"​ style="​color:​red;​ width: 100%; text-align: center;"></​h3>​
 +        </p>
 +    </td>
 +</tr>
 +        </​form>​
 +
 +</​table>​
 +
 +<​script>​
 +  function calc(price){ ​
 + var ecmstr = $('#​item_ecmSTR'​).val();​
 + var senstr = $('#​item_sensorSTR'​).val();​
 + var ecmnum = $('#​item_ecmNum'​).val();​
 +
 + var result = ((1-(Math.pow(1-ecmstr/​senstr,​ ecmnum)))*100).toFixed(2) + "​%";​
 +
 + $("#​item_result"​).text(result);​
 +
 +    function onlyNumber(){
 +      if ((event.keyCode < 48) || (event.keyCode > 57)){
 +        event.returnValue = false;
 +      }
 +    }
 +  } 
 +</​script>​
 +
 +</​html>​
ecm_계산기.txt · 마지막으로 수정됨: 2018/02/01 16:25 저자 Funzinnu




Copyright ⓒ 2013-2019 Funzinnu All rights reserved. / Documentations under CC Attribution-Noncommercial-Share Alike 4.0 International / Open sources are copyright of their respective owners. EVE Online and the EVE logo are the registered trademarks of CCP hf. All rights are reserved worldwide. All other trademarks are the property of their respective owners. EVE Online, the EVE logo, EVE and all associated logos and designs are the intellectual property of CCP hf. All artwork, screenshots, characters, vehicles, storylines, world facts or other recognizable features of the intellectual property relating to these trademarks are likewise the intellectual property of CCP hf. CCP hf. has granted permission to Funzinnu to use EVE Online and all associated logos and designs for promotional and information purposes on its website but does not endorse, and is not in any way affiliated with, Funzinnu. CCP is in no way responsible for the content on or functioning of this website, nor can it be liable for any damage arising from the use of this website.