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

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

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

댓글 작성

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

로그인하기

게시글 목록

번호 제목
11348
정규표현식 정규식 표현법
11346
11345
11336
11332
11329
11326
11324
11323
11321
11320
11319
11318
11317
11316
11315
11314
11313
11312
11311
11310
11308
11304
JavaScript 주소표시 3
20200
11300