테스트 사이트 - 개발 중인 베타 버전입니다

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

· 20년 전 · 2080
<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>

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

게시글 목록

번호 제목
540
539
537
532
531
530
17815
529
528
527
526
525
523
522
521
17814
520
519
JavaScript 배열함수
518
516
JavaScript mktime() 1
17813
515
17810
514
JavaScript strrchr()
513
기타 key()