팝업창 다시 안뜨게 하기

· 19년 전 · 1931
-----매인----
<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,405
19년 전 조회 4,704
19년 전 조회 4,764
19년 전 조회 2,616
19년 전 조회 2,275
19년 전 조회 2,601
19년 전 조회 3,228
19년 전 조회 3,021
19년 전 조회 1,990
19년 전 조회 2,064
19년 전 조회 3,246
19년 전 조회 2,462
19년 전 조회 3,723
19년 전 조회 2,657
19년 전 조회 1,951
19년 전 조회 2,568
19년 전 조회 1,823
19년 전 조회 1,506
19년 전 조회 1,637
19년 전 조회 1,910
19년 전 조회 1,676
19년 전 조회 1,868
19년 전 조회 1,663
19년 전 조회 2,056
19년 전 조회 1,941
19년 전 조회 1,546
19년 전 조회 1,550
19년 전 조회 1,461
19년 전 조회 1,329
19년 전 조회 1,507
19년 전 조회 2,076
19년 전 조회 2,492
19년 전 조회 2,984
19년 전 조회 2,398
19년 전 조회 1,904
19년 전 조회 7,131
19년 전 조회 3,826
19년 전 조회 2,433
19년 전 조회 2,441
19년 전 조회 2,940
19년 전 조회 5,870
19년 전 조회 5,657
19년 전 조회 2,340
19년 전 조회 3,397
19년 전 조회 2,962
19년 전 조회 2,310
19년 전 조회 2,826
19년 전 조회 1,678
19년 전 조회 1,840
19년 전 조회 1,932
19년 전 조회 2,108
19년 전 조회 1,773
19년 전 조회 1,917
19년 전 조회 1,876
19년 전 조회 1,956
19년 전 조회 1,626
19년 전 조회 2,748
19년 전 조회 2,070
19년 전 조회 3,326
19년 전 조회 3,371
19년 전 조회 2,630
19년 전 조회 2,700
19년 전 조회 2,532
19년 전 조회 2,781
19년 전 조회 2,781
19년 전 조회 3,259
19년 전 조회 2,973
19년 전 조회 5,379
19년 전 조회 2,208
19년 전 조회 2,283
19년 전 조회 2,118
19년 전 조회 2,022
19년 전 조회 2,024
19년 전 조회 2,223
19년 전 조회 3,294
19년 전 조회 3,156
19년 전 조회 2,940
19년 전 조회 2,645
19년 전 조회 2,732
19년 전 조회 2,388
19년 전 조회 2,421
19년 전 조회 1,697
19년 전 조회 2,409
19년 전 조회 2,767
19년 전 조회 2,772
19년 전 조회 3,062
19년 전 조회 2,845
19년 전 조회 1,811
19년 전 조회 1,918
19년 전 조회 2,827
19년 전 조회 2,313
19년 전 조회 4,069
19년 전 조회 2,575
19년 전 조회 2,472
19년 전 조회 3,612
19년 전 조회 3,198
19년 전 조회 2,330
19년 전 조회 3,121
19년 전 조회 2,321
19년 전 조회 3,169