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

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

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

댓글 작성

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

로그인하기

게시글 목록

번호 제목
155
154
153
151
149
JavaScript 배열함수 1
148
146
JavaScript mktime() 1
144
140
JavaScript strrchr()
139
기타 key()
136
135
133
132
131
130
129
128
121
120
119
117
113
111
109
107
106
104
103
102