팝업창 다시 안뜨게 하기

· 19년 전 · 2016
-----매인----
<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,483
19년 전 조회 4,785
19년 전 조회 4,837
19년 전 조회 2,701
19년 전 조회 2,357
19년 전 조회 2,687
19년 전 조회 3,321
19년 전 조회 3,105
19년 전 조회 2,078
19년 전 조회 2,144
19년 전 조회 3,323
19년 전 조회 2,528
19년 전 조회 3,803
19년 전 조회 2,737
19년 전 조회 2,030
19년 전 조회 2,649
19년 전 조회 1,901
19년 전 조회 1,591
19년 전 조회 1,713
19년 전 조회 1,994
19년 전 조회 1,748
19년 전 조회 1,950
19년 전 조회 1,743
19년 전 조회 2,139
19년 전 조회 2,022
19년 전 조회 1,635
19년 전 조회 1,633
19년 전 조회 1,532
19년 전 조회 1,409
19년 전 조회 1,587
19년 전 조회 2,154
19년 전 조회 2,561
19년 전 조회 3,071
19년 전 조회 2,484
19년 전 조회 1,992
19년 전 조회 7,204
19년 전 조회 3,903
19년 전 조회 2,508
19년 전 조회 2,535
19년 전 조회 3,028
19년 전 조회 5,955
19년 전 조회 5,750
19년 전 조회 2,428
19년 전 조회 3,478
19년 전 조회 3,038
19년 전 조회 2,399
19년 전 조회 2,917
19년 전 조회 1,769
19년 전 조회 1,911
19년 전 조회 2,017
19년 전 조회 2,197
19년 전 조회 1,858
19년 전 조회 2,003
19년 전 조회 1,957
19년 전 조회 2,041
19년 전 조회 1,705
19년 전 조회 2,827
19년 전 조회 2,153
19년 전 조회 3,415
19년 전 조회 3,456
19년 전 조회 2,708
19년 전 조회 2,782
19년 전 조회 2,624
19년 전 조회 2,869
19년 전 조회 2,859
19년 전 조회 3,344
19년 전 조회 3,051
19년 전 조회 5,458
19년 전 조회 2,285
19년 전 조회 2,362
19년 전 조회 2,205
19년 전 조회 2,109
19년 전 조회 2,119
19년 전 조회 2,308
19년 전 조회 3,385
19년 전 조회 3,244
19년 전 조회 3,036
19년 전 조회 2,726
19년 전 조회 2,818
19년 전 조회 2,468
19년 전 조회 2,515
19년 전 조회 1,795
19년 전 조회 2,492
19년 전 조회 2,853
19년 전 조회 2,852
19년 전 조회 3,146
19년 전 조회 2,924
19년 전 조회 1,896
19년 전 조회 1,997
19년 전 조회 2,909
19년 전 조회 2,401
19년 전 조회 4,153
19년 전 조회 2,659
19년 전 조회 2,556
19년 전 조회 3,698
19년 전 조회 3,280
19년 전 조회 2,409
19년 전 조회 3,209
19년 전 조회 2,415
19년 전 조회 3,261