메뉴 건너뛰기

전국분동대여

일반 자료실

컴퓨터/IT 토너먼트 경기 진행 표

GACHIMOA 2020.07.23 20:04 조회 수 : 269

토너먼트 경기 진행 표

 

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function scoreWinner(personA, personB, next1, next2, next3, personAwin, personBwin) {
with (personAwin.form)
{
if (!personAwin.checked && !personBwin.checked)
{
next1.value = "";
next2.value = "";
next3.value = "";
}
else {
next1.value = (personAwin.checked ? personA.value : "                 ");
personBwin.checked = false;
next2.value = "";
next3.value = "";
      }
   }
}
function advance(winner, loser, place) {
place.value = winner.value;
}
//  End -->
</script>
</HEAD>
<BODY>
<center>
<form name=tournament>
<p>Enter the player names then click the checkbox
for the winner of each round.<br>
After the initial round, simply click the name of the winner at that level.
<p>
<table width=500 border=1 cellspacing=1 cellpadding=1>
  <tr>
    <td align="center">
    Players</td>
    <td colspan=2 align=center>
    Round 1 Results</td>
    <td colspan=2 align=center>
    Round 2 Results</td>    
    <td colspan=2 align=center>
    Round 3 Results</td>    
  </tr>
  <tr>
    <td align=center>
    <input type=text name=player1 size=10><input type=checkbox name=player1win onClick="scoreWinner(this.form.player1, this.form.player2, this.form.round1winner1, this.form.round2winner1, this.form.round3winner, this, this.form.player2win);">
    </td>
    <td rowspan=2 colspan=2 align=center>
    <input type=button name=round1winner1 value="                 " onClick="advance(this, this.form.round1winner2, this.form.round2winner1);">
    </td>
    <td rowspan=4 colspan=2 align=center>
    <input type=button name=round2winner1 value="                 " onClick="advance(this, this.form.round2winner2, this.form.round3winner);">
    </td>
    <td rowspan=8 colspan=2 align=center>
    <input type=button name=round3winner value="                 ">
    </td>
  </tr>
  <tr>
    <td align=center>
    <input type=text name=player2 size=10><input type=checkbox name=player2win onClick="scoreWinner(this.form.player2, this.form.player1, this.form.round1winner1, this.form.round2winner1, this.form.round3winner, this, this.form.player1win);">
    </td>
  </tr>
  <tr>
    <td align=center>
    <input type=text name=player3 size=10><input type=checkbox name=player3win onClick="scoreWinner(this.form.player3, this.form.player4, this.form.round1winner2, this.form.round2winner1, this.form.round3winner, this, this.form.player4win);">
    </td>
    <td rowspan=2 colspan=2 align=center>
    <input type=button name=round1winner2 value="                 " onClick="advance(this, this.form.round1winner1, this.form.round2winner1);">
    </td>
  </tr>
  <tr>
    <td align=center>
    <input type=text name=player4 size=10><input type=checkbox name=player4win onClick="scoreWinner(this.form.player4, this.form.player3, this.form.round1winner2, this.form.round2winner1, this.form.round3winner, this, this.form.player3win);">
    </td>
  </tr>
  <tr>
    <td align=center>
    <input type=text name=player5 size=10><input type=checkbox name=player5win onClick="scoreWinner(this.form.player5, this.form.player6, this.form.round1winner3, this.form.round2winner2, this.form.round3winner, this, this.form.player6win);">
    </td>
    <td rowspan=2 colspan=2 align=center>
    <input type=button name=round1winner3 value="                 " onClick="advance(this, this.form.round1winner4, this.form.round2winner2);">
    </td>
    <td rowspan=4 colspan=2 align=center>
    <input type=button name=round2winner2 value="                 " onClick="advance(this, this.form.round2winner1, this.form.round3winner);">
    </td>
  </tr>
  <tr>
    <td align=center>
    <input type=text name=player6 size=10><input type=checkbox name=player6win onClick="scoreWinner(this.form.player6, this.form.player5, this.form.round1winner3, this.form.round2winner2, this.form.round3winner, this, this.form.player5win);">
    </td>
  </tr>
  <tr>
    <td align=center>
    <input type=text name=player7 size=10><input type=checkbox name=player7win onClick="scoreWinner(this.form.player7, this.form.player8, this.form.round1winner4, this.form.round2winner2, this.form.round3winner, this, this.form.player8win);">
    </td>
    <td rowspan=2 colspan=2 align=center>
    <input type=button name=round1winner4 value="                 " onClick="advance(this, this.form.round1winner3, this.form.round2winner2);">
    </td>  
  </tr>
  <tr>
    <td align=center>
    <input type=text name=player8 size=10><input type=checkbox name=player8win onClick="scoreWinner(this.form.player8, this.form.player7, this.form.round1winner4, this.form.round2winner2, this.form.round3winner, this, this.form.player7win);">
    </td>
  </tr>
</table>
</form>
</center>
<p><center>
<font face="굴림, 굴림체" size="2">쉬운 자바 베껴쓰는 자바<br>
by <a href="http://www.gachimoa.com">Java Depot</a></font>
</center></p>

번호 제목 글쓴이
3421 심장 건강에 좋은 습관 8가지 [1] 뉴퐁
3420 잠잘 때 왼쪽으로 자면 생기는 신체 변화 7가지 [2] 뉴퐁
3419 스트레스를 줄이는 놀라운 방법 6가지 [2] 싹쓰리
3418 여성이 팬티에 대해 알아야 할 7가지 [3] 싹쓰리
3417 끓였던 물을 또 끓이면 안 되는 이유 [1] 싹쓰리
3416 "치주염 환자, 코로나 감염 땐 사이토카인 폭풍 가능성 높아" [1] 쌍둥이맘
3415 스마트스토어 상위 노출 꿀팁. 경쟁률 낮은 세부키워드 뽑는 방법 [2] 나혼자번다
3414 열감지 안면인식 출입관리솔루션 400만원짜리를 40만원에(정부지원사업) [1] file 나혼자번다
3413 전자렌지요리 만능 레시피 대공개!! [3] 나혼자번다
3412 식초로 집안을 반짝반짝하게!! 식초 청소법 [4] 쌍둥이맘
3411 마시고 남은 김빠진 맥주 활용법 [2] 쌍둥이맘
3410 계란을 먹은 후 절대 바로 먹으면 안되는 것들 쌍둥이맘
3409 아주 유용한 커피상식 쌍둥이맘
3408 간 건강과 지방간 완화에 아주 효과적인 채소는? [2] 싹쓰리
3407 골다공증 예방과 뼈에 아주 좋은 음식 8가지 싹쓰리
3406 체했을 때, 감기 걸렸을 때, 관절염 통증에는 이것이 최고!! 싹쓰리
3405 장을 편안하게 하면서 소화를 돕는 식품 5가지 [1] 싹쓰리
3404 초보운전자가 반드시 알아야 하는 고속도로 운전매너 5 [1] 싹쓰리
3403 머리카락이나 두피를 상하게 하는 사소한 습관 5 라이믹스
3402 어둡고 칙칙한 피부를 환하게 해주는 필수적인 습관 5 라이믹스
위로