반응형
window.resizeTo(0,0);
창띄우기
<SCRIPT LANGUAGE="JavaScript">
<!--
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
//-->
</script>
<center>
<a href="http://www.yahoo.co.kr" onclick="NewWindow(this.href,'name','400','400','yes');return false;">야후! 홈페이지</a></CENTER>
반응형