웹을 다니다 보면 2개의 팝업창이 동시에 뜨는것을 보았죠?
그 소스인데요.
소스를 <head>와</head> 사이에 넣어주시고,팝업 사이즈는 원아는대로 적어 주세요.
<SCRIPT language=JavaScript>
window.onLoad = openPopup();
function openPopup()
{
window.open('new1.htm', 'popup','width=500, height=300,left=605,top=100,marginwidth=0,marginheight=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
window.open('new2.htm', 'popup2','width=400, height=200,left=705,top=150,marginwidth=0,marginheight=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
}
</SCRIPT>
|
|