팝업창 다시 안뜨게 하기

· 19년 전 · 2081
-----매인----
<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,559
19년 전 조회 4,865
19년 전 조회 4,911
19년 전 조회 2,776
19년 전 조회 2,422
19년 전 조회 2,753
19년 전 조회 3,387
19년 전 조회 3,165
19년 전 조회 2,152
19년 전 조회 2,214
19년 전 조회 3,386
19년 전 조회 2,600
19년 전 조회 3,864
19년 전 조회 2,803
19년 전 조회 2,091
19년 전 조회 2,726
19년 전 조회 1,981
19년 전 조회 1,668
19년 전 조회 1,785
19년 전 조회 2,076
19년 전 조회 1,815
19년 전 조회 2,016
19년 전 조회 1,810
19년 전 조회 2,206
19년 전 조회 2,096
19년 전 조회 1,716
19년 전 조회 1,700
19년 전 조회 1,599
19년 전 조회 1,469
19년 전 조회 1,653
19년 전 조회 2,217
19년 전 조회 2,640
19년 전 조회 3,137
19년 전 조회 2,552
19년 전 조회 2,048
19년 전 조회 7,281
19년 전 조회 3,984
19년 전 조회 2,566
19년 전 조회 2,604
19년 전 조회 3,108
19년 전 조회 6,018
19년 전 조회 5,820
19년 전 조회 2,481
19년 전 조회 3,532
19년 전 조회 3,099
19년 전 조회 2,463
19년 전 조회 2,981
19년 전 조회 1,832
19년 전 조회 1,976
19년 전 조회 2,082
19년 전 조회 2,256
19년 전 조회 1,921
19년 전 조회 2,061
19년 전 조회 2,017
19년 전 조회 2,103
19년 전 조회 1,770
19년 전 조회 2,895
19년 전 조회 2,216
19년 전 조회 3,483
19년 전 조회 3,539
19년 전 조회 2,778
19년 전 조회 2,857
19년 전 조회 2,690
19년 전 조회 2,932
19년 전 조회 2,938
19년 전 조회 3,404
19년 전 조회 3,122
19년 전 조회 5,524
19년 전 조회 2,353
19년 전 조회 2,400
19년 전 조회 2,264
19년 전 조회 2,180
19년 전 조회 2,184
19년 전 조회 2,387
19년 전 조회 3,462
19년 전 조회 3,311
19년 전 조회 3,103
19년 전 조회 2,784
19년 전 조회 2,882
19년 전 조회 2,551
19년 전 조회 2,587
19년 전 조회 1,862
19년 전 조회 2,564
19년 전 조회 2,921
19년 전 조회 2,926
19년 전 조회 3,223
19년 전 조회 3,004
19년 전 조회 1,964
19년 전 조회 2,066
19년 전 조회 2,969
19년 전 조회 2,464
19년 전 조회 4,232
19년 전 조회 2,733
19년 전 조회 2,617
19년 전 조회 3,771
19년 전 조회 3,341
19년 전 조회 2,488
19년 전 조회 3,278
19년 전 조회 2,483
19년 전 조회 3,342