팝업창 다시 안뜨게 하기

· 19년 전 · 1811
-----매인----
<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,277
19년 전 조회 4,572
19년 전 조회 4,630
19년 전 조회 2,482
19년 전 조회 2,156
19년 전 조회 2,486
19년 전 조회 3,115
19년 전 조회 2,907
19년 전 조회 1,874
19년 전 조회 1,932
19년 전 조회 3,129
19년 전 조회 2,343
19년 전 조회 3,602
19년 전 조회 2,532
19년 전 조회 1,835
19년 전 조회 2,441
19년 전 조회 1,702
19년 전 조회 1,382
19년 전 조회 1,515
19년 전 조회 1,783
19년 전 조회 1,557
19년 전 조회 1,760
19년 전 조회 1,546
19년 전 조회 1,928
19년 전 조회 1,823
19년 전 조회 1,422
19년 전 조회 1,423
19년 전 조회 1,336
19년 전 조회 1,208
19년 전 조회 1,386
19년 전 조회 1,954
19년 전 조회 2,377
19년 전 조회 2,851
19년 전 조회 2,288
19년 전 조회 1,781
19년 전 조회 7,011
19년 전 조회 3,708
19년 전 조회 2,314
19년 전 조회 2,336
19년 전 조회 2,819
19년 전 조회 5,756
19년 전 조회 5,538
19년 전 조회 2,231
19년 전 조회 3,270
19년 전 조회 2,839
19년 전 조회 2,192
19년 전 조회 2,707
19년 전 조회 1,560
19년 전 조회 1,715
19년 전 조회 1,812
19년 전 조회 1,987
19년 전 조회 1,661
19년 전 조회 1,790
19년 전 조회 1,758
19년 전 조회 1,825
19년 전 조회 1,506
19년 전 조회 2,628
19년 전 조회 1,966
19년 전 조회 3,214
19년 전 조회 3,246
19년 전 조회 2,501
19년 전 조회 2,588
19년 전 조회 2,413
19년 전 조회 2,673
19년 전 조회 2,660
19년 전 조회 3,139
19년 전 조회 2,855
19년 전 조회 5,264
19년 전 조회 2,090
19년 전 조회 2,173
19년 전 조회 1,981
19년 전 조회 1,908
19년 전 조회 1,911
19년 전 조회 2,107
19년 전 조회 3,180
19년 전 조회 3,052
19년 전 조회 2,823
19년 전 조회 2,526
19년 전 조회 2,603
19년 전 조회 2,268
19년 전 조회 2,311
19년 전 조회 1,571
19년 전 조회 2,294
19년 전 조회 2,643
19년 전 조회 2,636
19년 전 조회 2,942
19년 전 조회 2,719
19년 전 조회 1,689
19년 전 조회 1,797
19년 전 조회 2,699
19년 전 조회 2,198
19년 전 조회 3,960
19년 전 조회 2,466
19년 전 조회 2,351
19년 전 조회 3,493
19년 전 조회 3,072
19년 전 조회 2,212
19년 전 조회 3,003
19년 전 조회 2,214
19년 전 조회 3,063
🐛 버그신고