묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
버튼타켓좀 봐주세요...급함니다
2002.04.30 07:57
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<base target="detail">
<title>나만의 세상 kani.com</title>
<STYLE TYPE='text/css'>
A:link {text-decoration: none}
A:visited {text-decoration: none}
A:hover {color: blue; text-decoration: none}
BODY,TR,TD{font-size:9pt;font-family:Tahoma,굴림,Verdana,MS Sans Serif,Courier New;}
</style>
<script language='JavaScript'>
function openwinsmall(){
var Newopenwinx = null;
Newopenwinx = window.open('', 'winnamex', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=1,resizable=yes,copyhistory=no,width=700,height=550');
Newopenwinx.focus();
}
</script>
<STYLE TYPE='text/css'>
.buttons{font-size:8pt; border-top:1 solid #ffffff; border-left:1 solid #ffffff; border-right:1 solid #C6C6D9; border-bottom:1 solid #C6C6D9; background-color:#F7F7FF; height:18;}
</style>
<base target="contents"></head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" topmargin=0 leftmargin=0>
<p align="center"><input type=button value='Home' onclick=location.href('http://gukhawn.codns.com/a.htm')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons' ><input type=button value="멋진친구들?" onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=info')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value="가입인사" onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=hi)
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value="에니메이션" onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=ani')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value="영 화" onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=mov')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value='강의실' onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=kangja')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value="질 답" onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=qa')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value='자료실' onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=pda')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value="채팅방" onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id='+ '+ ')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value="중고사고팔고" onclick=location.href('http://gukhawn.codns.com/cgi/technote/main.cgi?board=shopping')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'></p>
</body>
</html>
원프레임일땐 이렇케 써도 아무 이상없섰습니다만...지금은 플레임을 나눠줬는데..
타겟 설정을 해도 타켓으로 안가네요...방법 없을가요?
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<base target="detail">
<title>나만의 세상 kani.com</title>
<STYLE TYPE='text/css'>
A:link {text-decoration: none}
A:visited {text-decoration: none}
A:hover {color: blue; text-decoration: none}
BODY,TR,TD{font-size:9pt;font-family:Tahoma,굴림,Verdana,MS Sans Serif,Courier New;}
</style>
<script language='JavaScript'>
function openwinsmall(){
var Newopenwinx = null;
Newopenwinx = window.open('', 'winnamex', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=1,resizable=yes,copyhistory=no,width=700,height=550');
Newopenwinx.focus();
}
</script>
<STYLE TYPE='text/css'>
.buttons{font-size:8pt; border-top:1 solid #ffffff; border-left:1 solid #ffffff; border-right:1 solid #C6C6D9; border-bottom:1 solid #C6C6D9; background-color:#F7F7FF; height:18;}
</style>
<base target="contents"></head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" topmargin=0 leftmargin=0>
<p align="center"><input type=button value='Home' onclick=location.href('http://gukhawn.codns.com/a.htm')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons' ><input type=button value="멋진친구들?" onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=info')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value="가입인사" onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=hi)
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value="에니메이션" onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=ani')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value="영 화" onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=mov')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value='강의실' onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=kangja')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value="질 답" onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=qa')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value='자료실' onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id=pda')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value="채팅방" onclick=location.href('http://gukhawn.codns.com/cgi/zb/zboard.php?id='+ '+ ')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'><input type=button value="중고사고팔고" onclick=location.href('http://gukhawn.codns.com/cgi/technote/main.cgi?board=shopping')
onmouseover=MouseOverColor(this,1) onmouseout=MouseOverColor(this,0) class='buttons'></p>
</body>
</html>
원프레임일땐 이렇케 써도 아무 이상없섰습니다만...지금은 플레임을 나눠줬는데..
타겟 설정을 해도 타켓으로 안가네요...방법 없을가요?
댓글 3
-
steelheart
2002.04.30 08:26
-
지오
2002.04.30 10:02
윗분의견에 동의함 -
Legend
2002.04.30 15:41
그냥 간단히 아래와 같이 바꾸는 방법도 있습니다.
window.open('주소', '타겟')
자바스크립트에서의 링크(onclick=location.href)와는 별개의 문제죠.
그래서 <base target="contents"> 이 부분은 있어도 쓸모없는 부분이네요. 일단 지우시구요.
onclick=location.href 라고 된 부분을 onclick=parent.contents.location.href 라고
전부 바꿔 주시면 아마 되지 않을까 싶네요.