묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
뭔 박스라더라--;;; 그거..
2005.03.06 15:18
제가 아래 같이 해서 위에 카테로기 선택하는거 같은거 할라고 했는데요..
프레임 이름을 바꿀려고 몇번해서 성공을 해서 할라는데..
나모에서 계속 월래데로 바꿔버리네요--;;
왜 그러죠?
<html>
<head>
<title>프로그램 목록</title>
<script language="JavaScript">
<!--
function namosw_goto_byselect(sel, targetstr)
{
var index = sel.selectedIndex;
if (sel.options[index].value != '') {
if (targetstr == 'blank') {
window.open(sel.options[index].value, 'win1');
} else {
var frameobj;
if (targetstr == '') targetstr = 'self';
if ((frameobj = eval(targetstr)) != null)
frameobj.location = sel.options[index].value;
}
}
}
// -->
</script>
</head>
<body>
<p>
<form name="form">
<select size="1" OnChange="namosw_goto_byselect(this, 'blank')">
<option selected>프로그램목록</option>
<option value="../jjyx_memo/jjyx_memo.php?db=jjyxmemo_test">JJyx
MEMO</option>
<option value="../jjyxbbs/jjyxbbs_o/list.php?db=jjyxbbs_test">JJyx
BBS</option>
<option value="../wp/musiccity/musiccity_test.php">음도중독테스트</option>
<option value="../wp/musiccity_dic/list.php">음도대사전</option>
</select>
</form>
</p>
</body>
</html>
프레임 이름을 바꿀려고 몇번해서 성공을 해서 할라는데..
나모에서 계속 월래데로 바꿔버리네요--;;
왜 그러죠?
<html>
<head>
<title>프로그램 목록</title>
<script language="JavaScript">
<!--
function namosw_goto_byselect(sel, targetstr)
{
var index = sel.selectedIndex;
if (sel.options[index].value != '') {
if (targetstr == 'blank') {
window.open(sel.options[index].value, 'win1');
} else {
var frameobj;
if (targetstr == '') targetstr = 'self';
if ((frameobj = eval(targetstr)) != null)
frameobj.location = sel.options[index].value;
}
}
}
// -->
</script>
</head>
<body>
<p>
<form name="form">
<select size="1" OnChange="namosw_goto_byselect(this, 'blank')">
<option selected>프로그램목록</option>
<option value="../jjyx_memo/jjyx_memo.php?db=jjyxmemo_test">JJyx
MEMO</option>
<option value="../jjyxbbs/jjyxbbs_o/list.php?db=jjyxbbs_test">JJyx
BBS</option>
<option value="../wp/musiccity/musiccity_test.php">음도중독테스트</option>
<option value="../wp/musiccity_dic/list.php">음도대사전</option>
</select>
</form>
</p>
</body>
</html>