팝업창 다시 안뜨게 하기

· 19년 전 · 1948
-----매인----
<script>
function popup(goPageURL,goPageName,goPageWidth,goPageHeight)
{
window.open(goPageURL,goPageName,'width='+goPageWidth+',height='+goPageHeight+',menubar=no, scrollbars=no, resizable=no');
}
function expire() {
document.cookie = "user=;domain=ijym.net;path=/";
document.cookie = "chatuser=;domain=ijym.net;path=/";
document.cookie = "globalc=;domain=ijym.net;path=/";
document.cookie = "returnurl=;domain=ijym.net;path=/";
document.cookie = "chatreload=;domain=ijym.net;path=/";

var getCookie = document.cookie;
if ( getCookie.indexOf("NOPOPnew") < 0 ) {

popup('testpop.htm','notice','332','451'); //이부분이 님이 띄울 창의 파일 이름과 창이름 가로 세로 크기에요 알맞게 고쳐주세요
}
}
</script>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" bgcolor="White" onload="expire();">


----------팝업창----
<script language=JavaScript>
<!--
function cookieSet(dayNum)
{
var cookieFlag, oDate, expiresDate;

cookieFlag = "NOPOPnew";
oDate = new Date();
oDate.setDate(oDate.getDate() + dayNum);
expiresDate = oDate.toGMTString();

//쿠키셋팅
if ( document.all.popupCheck.checked == 1 ) {
document.cookie = "popnew=" + cookieFlag + "; expires=" + expiresDate + "; path=/; domain=ijym.net";
} else {
document.cookie = "popnew=" + "" + "; expires=" + expiresDate + "; path=/; domain=ijym.net";
}
//alert(document.cookie);
}

//-->
</script>
</head>

<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<table cellspacing="0" cellpadding="0" border="0" width="332" height="441">
<tr>
<td valign="bottom" align="center">
<input type=checkbox name=popupCheck onclick="cookieSet(15);"><!-- cookieSet(원하는 기억일수) 15는 15일동운 쿠키를 저장하고 팝업창을 다시 띄우지 않는것임 알맞게 고쳐주세요--!>
앞으로 창 표시하지 않음 !
<input type="button" onclick=".javascript{window.close()}" value="창닫기" class="button"></td>
</tr>
</table><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
19년 전 조회 2,413
19년 전 조회 4,714
19년 전 조회 4,777
19년 전 조회 2,634
19년 전 조회 2,290
19년 전 조회 2,616
19년 전 조회 3,245
19년 전 조회 3,036
19년 전 조회 2,007
19년 전 조회 2,076
19년 전 조회 3,255
19년 전 조회 2,474
19년 전 조회 3,741
19년 전 조회 2,670
19년 전 조회 1,963
19년 전 조회 2,581
19년 전 조회 1,832
19년 전 조회 1,517
19년 전 조회 1,644
19년 전 조회 1,926
19년 전 조회 1,688
19년 전 조회 1,880
19년 전 조회 1,673
19년 전 조회 2,065
19년 전 조회 1,953
19년 전 조회 1,563
19년 전 조회 1,563
19년 전 조회 1,468
19년 전 조회 1,343
19년 전 조회 1,518
19년 전 조회 2,092
19년 전 조회 2,501
19년 전 조회 2,999
19년 전 조회 2,423
19년 전 조회 1,915
19년 전 조회 7,142
19년 전 조회 3,842
19년 전 조회 2,448
19년 전 조회 2,462
19년 전 조회 2,956
19년 전 조회 5,882
19년 전 조회 5,672
19년 전 조회 2,354
19년 전 조회 3,407
19년 전 조회 2,977
19년 전 조회 2,329
19년 전 조회 2,842
19년 전 조회 1,696
19년 전 조회 1,856
19년 전 조회 1,949
19년 전 조회 2,120
19년 전 조회 1,785
19년 전 조회 1,931
19년 전 조회 1,891
19년 전 조회 1,970
19년 전 조회 1,644
19년 전 조회 2,759
19년 전 조회 2,085
19년 전 조회 3,346
19년 전 조회 3,385
19년 전 조회 2,641
19년 전 조회 2,717
19년 전 조회 2,544
19년 전 조회 2,800
19년 전 조회 2,797
19년 전 조회 3,272
19년 전 조회 2,982
19년 전 조회 5,391
19년 전 조회 2,222
19년 전 조회 2,298
19년 전 조회 2,129
19년 전 조회 2,042
19년 전 조회 2,040
19년 전 조회 2,243
19년 전 조회 3,310
19년 전 조회 3,174
19년 전 조회 2,959
19년 전 조회 2,657
19년 전 조회 2,746
19년 전 조회 2,402
19년 전 조회 2,443
19년 전 조회 1,715
19년 전 조회 2,421
19년 전 조회 2,777
19년 전 조회 2,788
19년 전 조회 3,074
19년 전 조회 2,862
19년 전 조회 1,829
19년 전 조회 1,937
19년 전 조회 2,835
19년 전 조회 2,329
19년 전 조회 4,084
19년 전 조회 2,590
19년 전 조회 2,479
19년 전 조회 3,628
19년 전 조회 3,208
19년 전 조회 2,342
19년 전 조회 3,138
19년 전 조회 2,342
19년 전 조회 3,191