묻고답하기

http://www.kjga.or.kr/test.html<html>
<head>
<script language = "javascript">
//상위 셀렉트로 하위 셀렉트 제어하기
function showSub(obj) {

    f = document.forms.select_machine;

    if(obj == 1) {
    
        f.SUB1.style.display = "";
        f.SUB2.style.display = "none";
        f.SUB3.style.display = "none";
        f.SUB4.style.display = "none";
        f.SUB5.style.display = "none";
        f.SUB6.style.display = "none";
        f.SUB7.style.display = "none";
        f.SUB8.style.display = "none";
        f.SUB9.style.display = "none";
        f.SUB10.style.display = "none";

    }
        if(obj == 2) {
    
        f.SUB1.style.display = "none";
        f.SUB2.style.display = "";
        f.SUB3.style.display = "none";
        f.SUB4.style.display = "none";
        f.SUB5.style.display = "none";
        f.SUB6.style.display = "none";
        f.SUB7.style.display = "none";
        f.SUB8.style.display = "none";
        f.SUB9.style.display = "none";
        f.SUB10.style.display = "none";

    }
        if(obj == 3) {
    
        f.SUB1.style.display = "none";
        f.SUB2.style.display = "none";
        f.SUB3.style.display = "";
        f.SUB4.style.display = "none";
        f.SUB5.style.display = "none";
        f.SUB6.style.display = "none";
        f.SUB7.style.display = "none";
        f.SUB8.style.display = "none";
        f.SUB9.style.display = "none";
        f.SUB10.style.display = "none";

    }
        if(obj == 4) {
    
        f.SUB1.style.display = "none";
        f.SUB2.style.display = "none";
        f.SUB3.style.display = "none";
        f.SUB4.style.display = "";
        f.SUB5.style.display = "none";
        f.SUB6.style.display = "none";
        f.SUB7.style.display = "none";
        f.SUB8.style.display = "none";
        f.SUB9.style.display = "none";
        f.SUB10.style.display = "none";

    }
        if(obj == 5) {
    
        f.SUB1.style.display = "none";
        f.SUB2.style.display = "none";
        f.SUB3.style.display = "none";
        f.SUB4.style.display = "none";
        f.SUB5.style.display = "";
        f.SUB6.style.display = "none";
        f.SUB7.style.display = "none";
        f.SUB8.style.display = "none";
        f.SUB9.style.display = "none";
        f.SUB10.style.display = "none";

    }
        if(obj == 6) {
    
        f.SUB1.style.display = "none";
        f.SUB2.style.display = "none";
        f.SUB3.style.display = "none";
        f.SUB4.style.display = "none";
        f.SUB5.style.display = "none";
        f.SUB6.style.display = "";
        f.SUB7.style.display = "none";
        f.SUB8.style.display = "none";
        f.SUB9.style.display = "none";
        f.SUB10.style.display = "none";

    }
        if(obj == 7) {
    
        f.SUB1.style.display = "none";
        f.SUB2.style.display = "none";
        f.SUB3.style.display = "none";
        f.SUB4.style.display = "none";
        f.SUB5.style.display = "none";
        f.SUB6.style.display = "none";
        f.SUB7.style.display = "";
        f.SUB8.style.display = "none";
        f.SUB9.style.display = "none";
        f.SUB10.style.display = "none";

    }
        if(obj == 8) {
    
        f.SUB1.style.display = "none";
        f.SUB2.style.display = "none";
        f.SUB3.style.display = "none";
        f.SUB4.style.display = "none";
        f.SUB5.style.display = "none";
        f.SUB6.style.display = "none";
        f.SUB7.style.display = "none";
        f.SUB8.style.display = "";
        f.SUB9.style.display = "none";
        f.SUB10.style.display = "none";

    }
        if(obj == 9) {
    
        f.SUB1.style.display = "none";
        f.SUB2.style.display = "none";
        f.SUB3.style.display = "none";
        f.SUB4.style.display = "none";
        f.SUB5.style.display = "none";
        f.SUB6.style.display = "none";
        f.SUB7.style.display = "none";
        f.SUB8.style.display = "none";
        f.SUB9.style.display = "";
        f.SUB10.style.display = "none";

    }
        if(obj == 10) {
    
        f.SUB1.style.display = "none";
        f.SUB2.style.display = "none";
        f.SUB3.style.display = "none";
        f.SUB4.style.display = "none";
        f.SUB5.style.display = "none";
        f.SUB6.style.display = "none";
        f.SUB7.style.display = "none";
        f.SUB8.style.display = "none";
        f.SUB9.style.display = "none";
        f.SUB10.style.display = "";

    }
}
function goURL()
{
    if(this.go.value != "default")
    {
    URL = this.go.value
    window.open(URL,'_self','+ '+ '')
    }
}
</script>
</head>

<body>
<table cellpadding="0" cellspacing="0" width="500" border="0">
<tr>
<td width="100">
<form name="select_machine">

<!--상위 셀렉트박스-->
<select name=" " onChange="showSub(this.options[this.selectedIndex].value);">
<option value="1">1990</option>
<option value="2">1991</option>
<option value="3">1992</option>
<option value="4">1993</option>
<option value="5">1994</option>
<option value="6">1995</option>
<option value="7">1996</option>
<option value="8">1997</option>
<option value="9">1998</option>
<option value="10">1999</option>
</select>
</td>
<td width="300">
<!--//여기부턴 하위셀렉트박스-->
<select name="SUB1" style="display:block;"onChange="return goURL()">
<option value="http://www.naver.com">제 1회 한국 중.고등학교 골프연맹회장배  </option>
<option value="http://www.naver.com">제 1회 스포츠조선-엘로드배 </option>
<option value="http://www.naver.com">제 1회 KGM-그린국제골프배 </option>
</select>

<select name="SUB2" style="display: none;"onChange="return goURL()">
<option value="">제 2회 한국 중.고등학교 골프연맹회장배 </option>
<option value="">제 2회 스포츠조선-엘로드배 </option>
<option value="">제 2회 KGM-그린국제골프배 </option>
</select>

<select name="SUB3" style="display: none;"onChange="return goURL()">
<option value=" ">제 3회 한국 중.고등학교 골프연맹회장배 </option>
<option value=" ">제 3회 스포츠조선-엘로드배 </option>
<option value=" ">제 3회 KGM-그린국제골프배 </option>
</select>

<select name="SUB4" style="display:none;"onChange="return goURL()">
<option value=" ">제 4회 한국 중.고등학교 골프연맹회장배  </option>
<option value=" ">제 4회 스포츠조선-엘로드배 </option>
<option value=" ">제 4회 KGM-그린국제골프배 </option>
</select>

<select name="SUB5" style="display: none;"onChange="return goURL()">
<option value=" ">제 5회 한국 중.고등학교 골프연맹회장배 </option>
<option value=" ">제 5회 스포츠조선-엘로드배 </option>
<option value=" ">제 5회 KGM-그린국제골프배 </option>
<option value=" ">제 1회 파맥스배 </option>
</select>

<select name="SUB6" style="display: none;"onChange="return goURL()">
<option value=" ">제 6회 한국 중.고등학교 골프연맹회장배 </option>
<option value=" ">제 6회 스포츠조선-엘로드배 </option>
<option value=" ">제 6회 KGM-그린국제골프배 </option>
<option value=" ">제 2회 파맥스배 회</option>
</select>

<select name="SUB7" style="display:none;"onChange="return goURL()">
<option value=" ">제 7회 한국 중.고등학교 골프연맹회장배 </option>
<option value=" ">제 7회 스포츠조선-엘로드배 </option>
<option value=" ">제 7회 KGM-그린국제골프배 </option>
<option value=" ">제 3회 파맥스배 </option>
</select>

<select name="SUB8" style="display: none;"onChange="return goURL()">
<option value=" ">제 8회 한국 중.고등학교 골프연맹회장배 </option>
<option value=" ">제 2회 스포츠조선-엘로드배 </option>
<option value=" ">제 2회 KGM-그린국제골프배 </option>
</select>

<select name="SUB9" style="display: none;"onChange="return goURL()">
<option value=" ">제 9회 한국 중.고등학교 골프연맹회장배 </option>
<option value=" ">제 3회 스포츠조선-엘로드배 </option>
<option value=" ">제 3회 KGM-그린국제골프배 </option>
</select>

<select name="SUB10" style="display: none;"onChange="return goURL()">
<option value=" ">제 10회 한국 중.고등학교 골프연맹회장배 </option>
<option value=" ">제 3회 스포츠조선-엘로드배 </option>
<option value=" ">제 3회 KGM-그린국제골프배 </option>
</select>

</td>
<td width="100">
<input type = "button" value="이동" onclick="javascript:goURL()">
</td>
</tr>
</table>

</form>

</html>

-----------------------------------------------------------------
다중선택창인데요...년도선택하구...대회선택하구 이동버튼 누르면 이동해야대는데...어케 이동시키나요??
소스좀 알려주세요..ㅠㅠ
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
이동수 ## 드림위버에서 위아래로 움직이는 메뉴 만들기..ㅠㅠ  
지성봉 고수님들 보시구 이것 해결방안 좀 알려주세요~  
한서원 아웃로그인 스킨때문에요 ..스킨을 투명하게 어떻게 하나요?  
아리앙 플래시메뉴에조 대해서  
aefaef 홈페이지 [2] 2007.08.10
PAIN yx_menuG2 6가지 메뉴 수정 및 주석 달아주세요!고수님들의 도움이 필요합니다. [1] 2007.08.10
희야 윈도우즈미디어 소리만 [3] 2007.08.10
UPANGEL 폼에서 몇번째자리가 원하는숫자가 아닐시 에러뜨게하기.. [1] 2007.08.10
전설의 제로보드 갤러리에서 스샷클릭시 링크다운로드하는법??  
정성영 제로보드 글쓰기 할시 기본 양식 (폼)을 주는 방법? [2] 2007.08.10
지니 tar 로 압축 풀기 할때 [2] 2007.08.10
레몽 포인트 추적기능 구현하려면? [7] 2007.08.10
장은수 홈페이지 공부하면서 만드는 중입니당. 여기 뭐가 잘못된건가요?  
callia 질문좀할게요 ㅠㅠ 좀 알려주세요 [1] 2007.08.10
김설향 form 태그가 안 되는 이유가?? [1] 2007.08.10
김남섭 노프레임 홈피 제작시... [1] 2007.08.10
니니 이미지롤오버에 관한건데요... [2] 2007.08.10
김지영 다중선택창선택하고 이동시키기  
Marines 급질문..php수정관련..  
다향 스크롤바가 보이지 않게 하려면 [1] 2007.08.10
김요한 그림을 표에 딱붙게 할려면 어떡하죠? [1] 2007.08.10
Freaky 슬라이스와 몇가지 포토샵질문  
엄성용 게시판 크기가 맘대로 바뀝니다...;; [2] 2007.08.10
김영기 노프레임 홈페이지를 만들때 상하 여백이 생기는 문제... [3] 2007.08.10
석인수 쿠키 사용법 질문 [1] 2007.08.10
왜,그러지 object 로 포토겔러리 최근 게시물 을 삽입 하였는데  
인자기 이거 어떻게 하는거죠?? [1] 2007.08.10
PAIN 레이어를 이용한 서브메뉴 자바소스인데 어디가 잘못된건지 모르겠어요!!  
신창숙 제로보드 연결부분이..  
김문성 공지사항이나 게시판이요 [1] 2007.08.10