팝업창 다시 안뜨게 하기

· 19년 전 · 1812
-----매인----
<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,279
19년 전 조회 4,574
19년 전 조회 4,632
19년 전 조회 2,484
19년 전 조회 2,156
19년 전 조회 2,487
19년 전 조회 3,115
19년 전 조회 2,910
19년 전 조회 1,876
19년 전 조회 1,934
19년 전 조회 3,129
19년 전 조회 2,345
19년 전 조회 3,604
19년 전 조회 2,533
19년 전 조회 1,836
19년 전 조회 2,443
19년 전 조회 1,704
19년 전 조회 1,385
19년 전 조회 1,516
19년 전 조회 1,785
19년 전 조회 1,559
19년 전 조회 1,761
19년 전 조회 1,547
19년 전 조회 1,929
19년 전 조회 1,826
19년 전 조회 1,423
19년 전 조회 1,427
19년 전 조회 1,337
19년 전 조회 1,210
19년 전 조회 1,387
19년 전 조회 1,957
19년 전 조회 2,378
19년 전 조회 2,853
19년 전 조회 2,290
19년 전 조회 1,782
19년 전 조회 7,013
19년 전 조회 3,710
19년 전 조회 2,316
19년 전 조회 2,338
19년 전 조회 2,821
19년 전 조회 5,758
19년 전 조회 5,540
19년 전 조회 2,232
19년 전 조회 3,272
19년 전 조회 2,842
19년 전 조회 2,194
19년 전 조회 2,708
19년 전 조회 1,563
19년 전 조회 1,716
19년 전 조회 1,813
19년 전 조회 1,988
19년 전 조회 1,664
19년 전 조회 1,791
19년 전 조회 1,758
19년 전 조회 1,828
19년 전 조회 1,508
19년 전 조회 2,630
19년 전 조회 1,968
19년 전 조회 3,215
19년 전 조회 3,248
19년 전 조회 2,503
19년 전 조회 2,589
19년 전 조회 2,416
19년 전 조회 2,674
19년 전 조회 2,662
19년 전 조회 3,142
19년 전 조회 2,857
19년 전 조회 5,265
19년 전 조회 2,093
19년 전 조회 2,174
19년 전 조회 1,983
19년 전 조회 1,909
19년 전 조회 1,913
19년 전 조회 2,109
19년 전 조회 3,182
19년 전 조회 3,054
19년 전 조회 2,823
19년 전 조회 2,527
19년 전 조회 2,605
19년 전 조회 2,270
19년 전 조회 2,313
19년 전 조회 1,572
19년 전 조회 2,296
19년 전 조회 2,644
19년 전 조회 2,638
19년 전 조회 2,945
19년 전 조회 2,720
19년 전 조회 1,691
19년 전 조회 1,799
19년 전 조회 2,700
19년 전 조회 2,200
19년 전 조회 3,962
19년 전 조회 2,468
19년 전 조회 2,353
19년 전 조회 3,495
19년 전 조회 3,074
19년 전 조회 2,215
19년 전 조회 3,005
19년 전 조회 2,216
19년 전 조회 3,065
🐛 버그신고