팝업창 다시 안뜨게 하기

· 19년 전 · 2079
-----매인----
<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,863
19년 전 조회 4,910
19년 전 조회 2,775
19년 전 조회 2,421
19년 전 조회 2,752
19년 전 조회 3,385
19년 전 조회 3,164
19년 전 조회 2,151
19년 전 조회 2,213
19년 전 조회 3,385
19년 전 조회 2,600
19년 전 조회 3,862
19년 전 조회 2,803
19년 전 조회 2,091
19년 전 조회 2,724
19년 전 조회 1,978
19년 전 조회 1,664
19년 전 조회 1,782
19년 전 조회 2,075
19년 전 조회 1,815
19년 전 조회 2,013
19년 전 조회 1,808
19년 전 조회 2,205
19년 전 조회 2,095
19년 전 조회 1,714
19년 전 조회 1,699
19년 전 조회 1,598
19년 전 조회 1,467
19년 전 조회 1,651
19년 전 조회 2,216
19년 전 조회 2,639
19년 전 조회 3,135
19년 전 조회 2,551
19년 전 조회 2,048
19년 전 조회 7,281
19년 전 조회 3,984
19년 전 조회 2,564
19년 전 조회 2,603
19년 전 조회 3,107
19년 전 조회 6,018
19년 전 조회 5,820
19년 전 조회 2,481
19년 전 조회 3,528
19년 전 조회 3,098
19년 전 조회 2,462
19년 전 조회 2,981
19년 전 조회 1,832
19년 전 조회 1,976
19년 전 조회 2,080
19년 전 조회 2,256
19년 전 조회 1,920
19년 전 조회 2,059
19년 전 조회 2,015
19년 전 조회 2,102
19년 전 조회 1,768
19년 전 조회 2,895
19년 전 조회 2,215
19년 전 조회 3,483
19년 전 조회 3,538
19년 전 조회 2,778
19년 전 조회 2,856
19년 전 조회 2,690
19년 전 조회 2,931
19년 전 조회 2,936
19년 전 조회 3,404
19년 전 조회 3,122
19년 전 조회 5,523
19년 전 조회 2,353
19년 전 조회 2,400
19년 전 조회 2,262
19년 전 조회 2,180
19년 전 조회 2,183
19년 전 조회 2,385
19년 전 조회 3,462
19년 전 조회 3,311
19년 전 조회 3,103
19년 전 조회 2,781
19년 전 조회 2,879
19년 전 조회 2,549
19년 전 조회 2,583
19년 전 조회 1,861
19년 전 조회 2,563
19년 전 조회 2,921
19년 전 조회 2,925
19년 전 조회 3,222
19년 전 조회 3,001
19년 전 조회 1,964
19년 전 조회 2,065
19년 전 조회 2,969
19년 전 조회 2,460
19년 전 조회 4,232
19년 전 조회 2,731
19년 전 조회 2,617
19년 전 조회 3,770
19년 전 조회 3,340
19년 전 조회 2,485
19년 전 조회 3,278
19년 전 조회 2,482
19년 전 조회 3,340