팝업창 다시 안뜨게 하기

· 19년 전 · 1819
-----매인----
<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,290
19년 전 조회 4,588
19년 전 조회 4,640
19년 전 조회 2,494
19년 전 조회 2,163
19년 전 조회 2,495
19년 전 조회 3,123
19년 전 조회 2,917
19년 전 조회 1,883
19년 전 조회 1,945
19년 전 조회 3,135
19년 전 조회 2,351
19년 전 조회 3,614
19년 전 조회 2,538
19년 전 조회 1,842
19년 전 조회 2,452
19년 전 조회 1,710
19년 전 조회 1,393
19년 전 조회 1,524
19년 전 조회 1,792
19년 전 조회 1,565
19년 전 조회 1,769
19년 전 조회 1,553
19년 전 조회 1,937
19년 전 조회 1,832
19년 전 조회 1,429
19년 전 조회 1,433
19년 전 조회 1,344
19년 전 조회 1,216
19년 전 조회 1,396
19년 전 조회 1,964
19년 전 조회 2,387
19년 전 조회 2,863
19년 전 조회 2,298
19년 전 조회 1,788
19년 전 조회 7,021
19년 전 조회 3,719
19년 전 조회 2,321
19년 전 조회 2,345
19년 전 조회 2,834
19년 전 조회 5,765
19년 전 조회 5,546
19년 전 조회 2,238
19년 전 조회 3,279
19년 전 조회 2,846
19년 전 조회 2,201
19년 전 조회 2,715
19년 전 조회 1,573
19년 전 조회 1,727
19년 전 조회 1,820
19년 전 조회 1,996
19년 전 조회 1,672
19년 전 조회 1,801
19년 전 조회 1,765
19년 전 조회 1,837
19년 전 조회 1,516
19년 전 조회 2,635
19년 전 조회 1,974
19년 전 조회 3,223
19년 전 조회 3,257
19년 전 조회 2,513
19년 전 조회 2,600
19년 전 조회 2,425
19년 전 조회 2,685
19년 전 조회 2,669
19년 전 조회 3,149
19년 전 조회 2,863
19년 전 조회 5,273
19년 전 조회 2,100
19년 전 조회 2,180
19년 전 조회 1,992
19년 전 조회 1,919
19년 전 조회 1,921
19년 전 조회 2,115
19년 전 조회 3,188
19년 전 조회 3,060
19년 전 조회 2,834
19년 전 조회 2,534
19년 전 조회 2,612
19년 전 조회 2,274
19년 전 조회 2,320
19년 전 조회 1,581
19년 전 조회 2,304
19년 전 조회 2,651
19년 전 조회 2,646
19년 전 조회 2,953
19년 전 조회 2,727
19년 전 조회 1,696
19년 전 조회 1,805
19년 전 조회 2,705
19년 전 조회 2,207
19년 전 조회 3,965
19년 전 조회 2,474
19년 전 조회 2,360
19년 전 조회 3,502
19년 전 조회 3,081
19년 전 조회 2,221
19년 전 조회 3,013
19년 전 조회 2,224
19년 전 조회 3,073