묻고답하기
[php] 메인화면 팝업창 오류
2007.12.28 18:03
안녕하세요? 도움을 바라는 상태에서 글을 올립니다.
제가 웹프로그램은 아주 약한터라 전문가들의 조언을 기다립니다.
상태 : 메인 화면에 팝업창 2개를 동시에 띄우는 경우입니다.
근데 접속시 윈도우창이 전체가 동시에 닫히며 다시 접속시 부터는 정상적입니다..
매일 접속시 윈도우창이 닫히는경우 때문에 머리가 아프네요 ..
팝업창 자체의 소스의 문젠지.. 아님.. 메인 소스의 문젠지 ,, 저로썬 ,, 해결 방안을 알고
계시는 분께서는 도움을 주시면 감사하겠습니다. ^^*
소스:
<?
$_zb_url = "http://leeoca.com/bbs/";
$_zb_path = "/home/nmj0078/public_html/bbs/";
include $_zb_path."outlogin.php";
include $_zb_path."imgSlider.php"; // 최근이미지 슬라이더
?>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<meta name="author" content="luckyzid(luckyzid@naver.com)">
<title> ::: Leeoca Ocarina | 리오카 오카리나 ::: </title>
<!-- 공지창관련시작//-->
<STYLE type="text/css">
<!--
A:link {color:mediumblue;}
A:active {color:mediumblue;}
A:visited{color:mediumblue;}
A:hover {color:red;font-size:12px;font-weight:100;}
.std1 {font-size:12px;font-family:arial;text-align:center;}
.std2 {font-size:13px;text-align:center;font-weight:600;}
.std3 {font-size:12px;}
.std4 {font-size:12px;color:red;}
//-->
</STYLE>
<!--테스트 -->
<script language="JavaScript">
function getCookie( name ){
var nameOfCookie = name + "=";
var x = 0;
while ( x <= document.cookie.length )
{
var y = (x+nameOfCookie.length);
if ( document.cookie.substring( x, y ) == nameOfCookie ) {
if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
endOfCookie = document.cookie.length;
return unescape( document.cookie.substring( y, endOfCookie ) );
}
x = document.cookie.indexOf( " ", x ) + 1;
if ( x == 0 ) break;
}
return "";
}
if ( getCookie( "mobile_040324_cookie" ) != "done" ) {
noticeWindow = window.open('http://leeoca.com/popup/123.html','popup','width=266,height=370, top=100, left=10');
noticeWindow.opener = self;
}
</script>
<Script language='Javascript'>
function getCookie(name){
var nameOfCookie = name + "=";
var x = 0
while(x <= document.cookie.length){
var y = (x+nameOfCookie.length);
if(document.cookie.substring(x, y) == nameOfCookie){
if((endOfCookie=document.cookie.indexOf(";", y)) == -1)
endOfCookie = document.cookie.length;
return unescape(document.cookie.substring(y, endOfCookie));
}
x = document.cookie.indexOf(" ", x) + 1;
if(x == 0)
break;
}
return "";
}
if(getCookie("mbank") != "done"){
noticeWindow02 = window.open('http://leeoca.com/popup/1220.html','popup1','toolbar=no,member=no,status=no,scrollbars=no,height=370,width=266,left=300,top=100');
noticeWindow02.opener = self;
}
</Script>
<!--테스트끝//-->
<!-- 공지창관련시작//-->
<STYLE type="text/css">
<!--
A:link {color:mediumblue;}
A:active {color:mediumblue;}
A:visited{color:mediumblue;}
A:hover {color:red;font-size:12px;font-weight:100;}
.std1 {font-size:12px;font-family:arial;text-align:center;}
.std2 {font-size:13px;text-align:center;font-weight:600;}
.std3 {font-size:12px;}
.std4 {font-size:12px;color:red;}
//-->
</STYLE>
<STYLE>
<!--@font-face
BODY {FONT-SIZE: 9pt; COLOR: #79672F; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
TD {FONT-SIZE: 9pt; COLOR: #79672F; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
SELECT {FONT-SIZE: 9pt; COLOR: #79672F; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
INPUT {FONT-SIZE:9pt; COLOR: #79672F; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
DIV {FONT-SIZE: 9pt; COLOR: #79672F; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
FORM {FONT-SIZE: 9pt; COLOR: #79672F; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
TEXTAREA {FONT-SIZE: 9pt; COLOR: #79672F; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
CENTER {FONT-SIZE: 9pt; COLOR: #79672F; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
OPTION {FONT-SIZE: 9pt; COLOR: #79672F; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
PRE {FONT-SIZE: 9pt; COLOR: #79672F; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
BLOCKQUOTE {FONT-SIZE: 9pt; COLOR: #79672F; LINE-HEIGHT: 150%; FONT-FAMILY: none;}
A:link {COLOR: #79672F; TEXT-DECORATION: none;}
A:visited {COLOR: #79672F; TEXT-DECORATION: none;}
A:active {COLOR: #79672F; TEXT-DECORATION: none;}
A:hover {COLOR: #FFFFFF; TEXT-DECORATION: none;}
-->
</STYLE>
<style type="text/css">
body{
scrollbar-face-color:#F7F7F7;
scrollbar-shadow-color:#cccccc;
scrollbar-highlight-color:#FFFFFF;
scrollbar-3dlight-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-track-color:#FFFFFF;
scrollbar-arrow-color:#FC7304}
</style>
<script language="JavaScript">
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;
</script>
<script language="JavaScript">
<!--
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
<script language="JavaScript"><!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
function na_preload_img()
{
var img_list = na_preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length-1; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i+1];
}
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
// -->
</script></head>
<body "winopen()" bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" "background-color:transparent" OnLoad="na_preload_img(false, 'images/img_index_v_06.jpg', 'images/img_index_v_08.jpg', 'images/img_index_v_10.jpg', 'images/img_index_v_12.jpg', 'images/img_index_v_14.jpg');">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="100%" height="100%">
<tr>
<td width="100%" height="100%" valign="top" background="images/img_index_04.jpg">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="1024" align="center">
<tr>
<td width="369" valign="top">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="369">
<tr>
<td width="369" valign="top" height="84" background="images/img_index_01.jpg">
<div style="position:relative; left:0px; top:0px;">
<div id="layer1" style="width:147; height:25px; position:absolute; left:73; top:147; z-index:1; visibility:hidden;">
<a href="s_1_1.htm"><img src="images/m1_1.jpg" width="35" height="25" border="0"></a><a href="s_1_2.htm"><img src="images/m2_1.jpg" border="0"></a><a href="s_1_3.htm"><img src="images/m3_1.jpg" border="0"></a></div>
<div id="layer2" style="width:403; height:25px; position:absolute; left:131; top:148; z-index:2; visibility:hidden;">
<a href="s_2_1.htm"><img src="images/m4_1.jpg" width="60" height="25" border="0"></a><a href="s_2_2.htm"><img src="images/m5_1.jpg" border="0" width="77" height="25"></a><a href="http://leeoca.com/bbs/zboard.php?id=s_2h_3"><img src="images/m6_1.jpg" border="0" width="77" height="25"></a><a href="s_2_4.htm"><img src="images/m7_1.jpg" width="60" height="25" border="0"></a><a href="s_2_5.htm"><img src="images/m8_1.jpg" border="0" width="43" height="25"></a><a href="http://cafe.naver.com/leeocaschool" target="_blank"><img src="images/m9_1.jpg" border="0" width="84" height="25"></a></div>
<div id="layer3" style="width:400; height:25px; position:absolute; left:317; top:147; z-index:3; visibility:hidden;">
<a href="s_3_1.htm"><img src="images/m10_1.jpg" width="70" height="25" border="0"></a><a href="s_3_2.htm"><img src="images/m11_1.jpg" border="0"></a><a href="s_3_3.htm"><img src="images/m12_1.jpg" border="0"></a><a href="s_3_4.htm"><img src="images/m13_1.jpg" border="0"></a><a href="s_3_5.htm"><img src="images/m14_1.jpg" border="0"></a><a href="s_3_6.htm"><img src="images/m15_1.jpg" border="0"></a><a href="s_3_7.htm"><img src="images/m16_1.jpg" border="0"></a><a href="http://leeoca.com/bbs/zboard.php?id=s_3h_8"><img src="images/m17_1.jpg" border="0"></a></div>
<div id="layer4" style="width:313; height:25px; position:absolute; left:570; top:147; z-index:4; visibility:hidden;">
<a href="http://leeoca.com/bbs/zboard.php?id=s_4h_1"><img src="images/m18_1.jpg" border="0"></a><a href="http://leeoca.com/bbs/zboard.php?id=s_4h_2"><img src="images/m19_1.jpg" border="0"></a><a href="http://leeoca.com/bbs/zboard.php?id=s_4h_3"><img src="images/m20_1.jpg" border="0"></a><a href="http://leeoca.com/bbs/zboard.php?id=s_4h_4"><img src="images/m21_1.jpg" border="0"></a><a href="http://leeoca.com/bbs/zboard.php?id=s_4h_5"><img src="images/m22_1.jpg" border="0"></a><a href="http://leeoca.com/bbs/zboard.php?id=s_4h_6"><img src="images/m23_1.jpg" border="0"></a><a href="http://leeoca.com/bbs/zboard.php?id=s_4h_7"><img src="images/m29_1.jpg" width="33" height="25" border="0"></a></div>
<div id="layer5" style="width:267; height:25px; position:absolute; left:750; top:147; z-index:5; visibility:hidden;">
<a href="http://leeoca.com/bbs/zboard.php?id=s_5h_1"><img src="images/m24_1.jpg" border="0"></a><a href="http://leeoca.com/bbs/zboard.php?id=s_5h_2"><img src="images/m25_1.jpg" border="0"></a><a href="http://leeoca.com/bbs/zboard.php?id=s_5h_3"><img src="images/m26_1.jpg" border="0"></a><a href="http://leeoca.com/bbs/zboard.php?id=s_5h_4"><img src="images/m27_1.jpg" border="0"></a><a href="http://leeoca.com/bbs/zboard.php?id=s_5h_5"><img src="images/m28_1.jpg" border="0"></a></div>
</td>
</tr>
</table>
</td>
<td width="293">
<p align="left"><a href="index.htm"><img src="images/img_index_02.jpg" width="293" height="84" border="0"></a></p>
</td>
<td width="125" valign="top">
<p align="left"><img src="images/img_index_03_v1.jpg" width="125" height="84" border="0"></p>
</td>
<td width="237" valign="top">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="168">
<tr>
<td width="168" valign="top" height="26"> </td>
</tr>
<tr>
<td width="168" valign="top"> <p><!--Counter Code Begin-->
<script src='http://www.minicounter.com/cv.php?msg=UEdFZ2FISmxaajBuYUhSMGNEb3ZMM2QzZHk1dGFXNXBZMjkxYm5SbGNpNWpiMjB2YzNSaGRIVnpMbkJvY0Q5cFpEMHdNREF3TURBMU1qYzBKbU52ZFc1MGNuazlNVEUwSnlCMFlYSm5aWFE5SjE5aWJHRnVheWMrUEc5aWFtVmpkQ0JrWVhSaFBTZG9kSFJ3T2k4dmQzZDNMbTFwYm1samIzVnVkR1Z5TG1OdmJTOXRZV2x1TG1oMGJXdy9hV1E5TURBd01EQXdOVEkzTkNaamIzVnVkSEo1UFRFeE5DY2dkSGx3WlQxMFpYaDBMM2d0YzJOeWFYQjBiR1YwSUhkcFpIUm9QVEVsSUdobGFXZG9kRDB4UGp3dmIySnFaV04wUGp4cGJXY2djM0pqUFNkb2RIUndPaTh2ZDNkM0xtMXBibWxqYjNWdWRHVnlMbU52YlM5amIzVnVkQzV3YUhBL2FXUTlNREF3TURBd05USTNOQ1pqYjNWdWRISjVQVEV4TkNjZ1ltOXlaR1Z5UFRBK1BDOWhQZz09'>
</script>
<!--Counter Code End-->
</p>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="1025" align="center">
<tr>
<td width="85" height="84" valign="top"><img src="images/img_index_05.jpg" width="79" height="61" border="0"></td>
<td width="85" height="84" valign="top"><span onMouseOver="MM_showHideLayers('layer1','','show','layer2','','hide'+
'+
','layer3','','hide','layer4','','hide','layer5','','hide')" style="cursor:hand"><a href="s_1_1.htm" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', 'images/img_index_v_06.jpg', true)"><img src="images/img_index_06.jpg" border="0" width="113" height="61" name="image1"></a></span></td>
<td width="85" height="84" valign="top"><img src="images/img_index_07.jpg" border="0" width="81" height="61"></td>
<td width="85" height="84" valign="top"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','show','layer3','','hide','layer4','','hide','layer5',''+
','hide')" style="cursor:hand"><a href="s_2_1.htm" OnMouseOut="na_restore_img_src('image2', 'document')" OnMouseOver="na_change_img_src('image2', 'document', 'images/img_index_v_08.jpg', true)"><img src="images/img_index_08.jpg" border="0" width="96" height="61" name="image2"></a></span></td>
<td width="85" height="84" valign="top"><img src="images/img_index_09.jpg" border="0" width="99" height="61"></td>
<td width="85" height="84" valign="top"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','+
'layer3','','show','layer4','','hide','layer5','','hide')" style="cursor:hand"><a href="s_3_1.htm" OnMouseOut="na_restore_img_src('image3', 'document')" OnMouseOver="na_change_img_src('image3', 'document', 'images/img_index_v_10.jpg', true)"><img src="images/img_index_10.jpg" border="0" width="93" height="61" name="image3"></a></span></td>
<td width="85" height="84" valign="top"><img src="images/img_index_11.jpg" border="0" width="93" height="61"></td>
<td width="85" height="84" valign="top"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','show','layer5','','hide'+
')" style="cursor:hand"><a href="http://leeoca.com/bbs/zboard.php?id=s_4h_1" OnMouseOut="na_restore_img_src('image4', 'document')" OnMouseOver="na_change_img_src('image4', 'document', 'images/img_index_v_12.jpg', true)"><img src="images/img_index_12.jpg" border="0" width="99" height="61" name="image4"></a></span></td>
<td width="85" height="84" valign="top"><img src="images/img_index_13.jpg" border="0" width="63" height="61"></td>
<td width="85" height="84" valign="top"><span onMouseOver="MM_showHideLayers('layer1','','hide','layer2','','hide','layer3','','hide','layer4','','hide','layer5','','show')" style="cursor:hand"><a href="http://leeoca.com/bbs/zboard.php?id=s_5h_1" OnMouseOut="na_restore_img_src('image5', 'document')" OnMouseOver="na_change_img_src('image5', 'document', 'images/img_index_v_14.jpg', true)"><img src="images/img_index_14.jpg" border="0" width="158" height="61" name="image5"></a></span></td>
<td width="85" height="84" valign="top"><img src="images/img_index_15.jpg" border="0" width="20" height="61"></td>
<td width="85" height="84" valign="top"><img src="images/img_index_15.jpg" border="0" width="30" height="61"></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="1025" align="center">
<tr>
<td width="69"><img src="images/img_index_16.jpg" width="69" height="385" border="0"></td>
<td width="885">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="885">
<tr>
<td width="885" height="385" background="images/img_index_17.jpg" valign="top">
<table cellpadding="0" cellspacing="0" width="885">
<tr>
<td width="643" rowspan="2" valign="top" height="387"> <p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="638" height="385">
<param name="movie" value="images/img_index_17.swf">
<param name="play" value="true">
<param name="loop" value="true">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed width="638" height="385" src="images/img_index_17.swf" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent"></embed></object></p>
</td>
<td width="242" valign="top" height="176"> </td>
</tr>
<tr>
<td width="242" valign="top" height="204"><img src="images/img_index_17v.jpg" width="242" height="209" border="0"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="34"><img src="images/img_index_18.jpg" width="40" height="385" border="0"></td>
<td width="37"> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="1024" align="center">
<tr>
<td width="1024">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="995">
<tr>
<td width="995"> </td>
</tr>
<tr>
<td width="995" height="13">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="954">
<tr>
<td width="12" valign="top"><img src="images/img_index_19.jpg" width="27" height="133" border="0"></td>
<td width="306" valign="top">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black">
<tr>
<td width="281" valign="top"><a href="http://leeoca.com/bbs/zboard.php?id=s_4h_1"><img src="images/img_index_20.jpg" width="329" height="29" border="0"></a></td>
</tr>
<tr>
<td width="281" valign="top">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="314">
<tr>
<td width="314" valign="top" colspan="2" height="10"></td>
</tr>
<tr>
<td width="14" valign="top"> </td>
<td width="300" valign="top">
<p><? print_bbs("karil_D_white", "새로운 소식", "s_4h_1", 5, 35)?></p>
</td>
</tr>
</table></td>
</tr>
</table>
</td>
<td width="159" valign="top"><img src="images/img_index_21.jpg" width="112" height="133" border="0"></td>
<td width="159" valign="top">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black">
<tr>
<td width="281" valign="top"><a href="http://leeoca.com/bbs/zboard.php?id=s_4h_6"><img src="images/img_index_22.jpg" width="261" height="46" border="0"></a></td>
</tr>
<tr>
<td width="281" valign="top">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="247">
<tr>
<td width="247" valign="top" colspan="2" height="10"></td>
</tr>
<tr>
<td width="14" valign="top"> </td>
<td width="233" valign="top">
<? latest_images("img1", 108, 71, 0, 'reg_date', 10, "s_4h_6",1); ?></td>
</tr>
</table></td>
</tr>
</table>
</td>
<td width="159" valign="top"><img src="images/img_index_23.jpg" width="24" height="133" border="0"></td>
<td width="159" valign="top">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black">
<tr>
<td width="281" valign="top"><a href="http://leeoca.com/bbs/zboard.php?id=s_5h_1"><img src="images/img_index_24.jpg" width="241" height="29" border="0"></a></td>
</tr>
<tr>
<td width="281" valign="top">
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="230">
<tr>
<td width="230" valign="top" colspan="2" height="10"></td>
</tr>
<tr>
<td width="14" valign="top"> </td>
<td width="216" valign="top">
<? latest_images("img2", 104, 89, 0, 'reg_date', 10, "s_5h_1,s_5h_2,s_5h_3,s_5h_4,s_5h_5",1); ?></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" bordercolordark="black" bordercolorlight="black" width="1025" align="center">
<tr>
<td width="1025"><img src="images/img_index_38.jpg" width="994" height="23" border="0"></td>
</tr>
<tr>
<td width="1025" height="53"> <p><img src="images/img_index_39.jpg" width="994" height="71" border="0"></p>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div id="textFade" align="left" style="font-size:12px; color:black; border-width:0.5em; width:185px; height:59px; position:absolute; left:60%; top:180px; z-index:100; filter:revealTrans(transition=23, duration=0.5) blendTrans(duration=3); background-image: url(public.wmv); layer-background-image: url(public.wmv); border: 1px none #000000;" onClick="toggleMultimedia();">
<p><embed src="public.wmv" autostart="false" hidden="false" volume="70" loop="1" width=320 height=240 PLUGINSPAGE="HTTP://quicktime.apple.com/qt/sw/sw.html"><BR>
<NOEMBED> 동영상이 보이지 않으면 미디어 플레이어를 설치 하세요.</NOEMBED><BR>
</embed></p>
</div>
</body>
</html>
팝업창 소스입니다.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>리오카 팝업</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<SCRIPT language="JavaScript">
<!--
function setCookie( name, value, expiredays )
{
var todayDate = new Date();
todayDate.setDate( todayDate.getDate() + expiredays );
document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}
function closeWin()
{
if ( document.forms[0].Notice.checked )
setCookie( "Notice", "done" , 1); //1이란 숫자는 1일간 안보임을 뜻합니다. 날짜는 자신에 맞게 수정하세요
self.close();
}
// -->
</SCRIPT>
</head>
<body>
<table height="500" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/123_01.gif" width="266" height="330" border="0"></td>
</tr>
</table>
<table width="266" height="60" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" background="images/5.gif"><table width="170" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/egg.gif" width="1" height="5"></td>
</tr>
<tr>
<td><form>
<p><input type="checkbox" name="Notice" value=""><span style="font-size:9pt;"> </span><a href="#" onClick="javascript:history.onclick=closeWin()"><span style="font-size:9pt;">하루동안 창닫기</span></a>
</form></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
도움을 간절히 기다립니다 .... ^^*