체크박스를 클릭하면 이동하는 체크박스 메뉴 스크립트 > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

체크박스를 클릭하면 이동하는 체크박스 메뉴 스크립트 정보

JavaScript 체크박스를 클릭하면 이동하는 체크박스 메뉴 스크립트

첨부파일

move.html (1.0K) 98회 다운로드 2005-06-13 14:56:46

본문

<html>
<head>
<title> 그누짱 </title>
<meta http-equiv=content-type content=text/html; charset=euc-kr>

<script>
function leapTo (link)  {
  var new_url=link;
  if (  (new_url != "")  &&  (new_url != null)  )
// 프레임에 넣지 않을경우
          window.location=new_url;
// 프레임에 넣을경우
//          parent.프레임명.location=new_url;
  else
      alert("n메뉴를 선택 하세요");
  }
</script>

<!-------------- 여기까지 ---------------->

</head>

<body>


<table border=1 width=100>
<form>
<tr><td align="center"><input type="radio" name="buttons1" onclick="leapTo('http://sir.co.kr')">그누 1</td></tr>
<tr><td align="center"><input type="radio" name="buttons1" onclick="leapTo('http://esindi.com')">이신디</td></tr>
<tr><td align="center"><input type="radio" name="buttons1" onclick="leapTo('test3.html')">메뉴 3</td></tr>
<tr><td align="center"><input type="radio" name="buttons1" onclick="leapTo('test4.html')">메뉴 4</td></tr>
</form>
</table>

<!-------------- 여기까지 ---------------->

</body>
</html><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
추천
0

댓글 0개

전체 5,352
개발자팁 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT