묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
팝업창 소스 적용했는데 창이 안뜨는데 도와주세요
2005.12.07 10:05
<html>
<head>
<script language="JavaScript" type="text/JavaScript">
function popup()
{
window.open ("http://insect.knu.ac.kr/pop/popup01.html", "2005-2해충분류학종강안내", "width=300,height=400,scrollbars=no,toolbar=no,top=0,left=0,noresize");
window.open ("http://insect.knu.ac.kr/pop/popup02.html", "실험실생 모집 안내", "width=300,height=500,scrollbars=no,toolbar=no,top=0,left=0,noresize");
}
</script>
<script language='JavaScript'>
function RWindow(URL,WD,HT) {
window.open(URL,'counter','width=430,height=400,scrollbars=yes,resizable=0,status=no,menubar=0');
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title>::+::Systematic Entomology Lab.::+::</title>
<style>
<!--
p,br,body,td,select,input,form,textarea,option {font-size:10pt;line-height:160%;font-family:굴림;}
A:link {color:#3399FF;text-decoration:none;}
A:visited {color:#3399FF;text-decoration:none;}
A:active {color:#3399FF;text-decoration:none;}
A:hover {color:#99CCFF;text-decoration:underline}
-->
</style>
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : '+ '+ 'no';
window.open(url, name, 'left='+left+',top='+ '+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
</head>
<body onLoad="javascript:popup();" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
=================================
스크립을 head 다음에 적용하고
body onload를 헤드 끝나는 다음줄에 넣었는데.
테스트 했을때 오류가 있다고 하면서 안뜨네요. ㅜ.ㅜ
머가 문제인지 꼭 좀 도와주세요
<head>
<script language="JavaScript" type="text/JavaScript">
function popup()
{
window.open ("http://insect.knu.ac.kr/pop/popup01.html", "2005-2해충분류학종강안내", "width=300,height=400,scrollbars=no,toolbar=no,top=0,left=0,noresize");
window.open ("http://insect.knu.ac.kr/pop/popup02.html", "실험실생 모집 안내", "width=300,height=500,scrollbars=no,toolbar=no,top=0,left=0,noresize");
}
</script>
<script language='JavaScript'>
function RWindow(URL,WD,HT) {
window.open(URL,'counter','width=430,height=400,scrollbars=yes,resizable=0,status=no,menubar=0');
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title>::+::Systematic Entomology Lab.::+::</title>
<style>
<!--
p,br,body,td,select,input,form,textarea,option {font-size:10pt;line-height:160%;font-family:굴림;}
A:link {color:#3399FF;text-decoration:none;}
A:visited {color:#3399FF;text-decoration:none;}
A:active {color:#3399FF;text-decoration:none;}
A:hover {color:#99CCFF;text-decoration:underline}
-->
</style>
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : '+ '+ 'no';
window.open(url, name, 'left='+left+',top='+ '+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
</head>
<body onLoad="javascript:popup();" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
=================================
스크립을 head 다음에 적용하고
body onload를 헤드 끝나는 다음줄에 넣었는데.
테스트 했을때 오류가 있다고 하면서 안뜨네요. ㅜ.ㅜ
머가 문제인지 꼭 좀 도와주세요