팝업창 다시 안뜨게 하기

· 19년 전 · 1955
-----매인----
<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,426
19년 전 조회 4,726
19년 전 조회 4,784
19년 전 조회 2,644
19년 전 조회 2,298
19년 전 조회 2,628
19년 전 조회 3,256
19년 전 조회 3,042
19년 전 조회 2,026
19년 전 조회 2,089
19년 전 조회 3,266
19년 전 조회 2,482
19년 전 조회 3,749
19년 전 조회 2,683
19년 전 조회 1,972
19년 전 조회 2,588
19년 전 조회 1,844
19년 전 조회 1,527
19년 전 조회 1,657
19년 전 조회 1,938
19년 전 조회 1,701
19년 전 조회 1,891
19년 전 조회 1,684
19년 전 조회 2,078
19년 전 조회 1,964
19년 전 조회 1,576
19년 전 조회 1,574
19년 전 조회 1,477
19년 전 조회 1,349
19년 전 조회 1,530
19년 전 조회 2,103
19년 전 조회 2,508
19년 전 조회 3,011
19년 전 조회 2,435
19년 전 조회 1,924
19년 전 조회 7,149
19년 전 조회 3,849
19년 전 조회 2,460
19년 전 조회 2,471
19년 전 조회 2,967
19년 전 조회 5,889
19년 전 조회 5,680
19년 전 조회 2,365
19년 전 조회 3,415
19년 전 조회 2,985
19년 전 조회 2,338
19년 전 조회 2,852
19년 전 조회 1,707
19년 전 조회 1,862
19년 전 조회 1,956
19년 전 조회 2,129
19년 전 조회 1,797
19년 전 조회 1,940
19년 전 조회 1,898
19년 전 조회 1,980
19년 전 조회 1,653
19년 전 조회 2,765
19년 전 조회 2,095
19년 전 조회 3,358
19년 전 조회 3,393
19년 전 조회 2,647
19년 전 조회 2,729
19년 전 조회 2,554
19년 전 조회 2,812
19년 전 조회 2,808
19년 전 조회 3,279
19년 전 조회 2,991
19년 전 조회 5,400
19년 전 조회 2,228
19년 전 조회 2,308
19년 전 조회 2,137
19년 전 조회 2,046
19년 전 조회 2,053
19년 전 조회 2,251
19년 전 조회 3,324
19년 전 조회 3,182
19년 전 조회 2,973
19년 전 조회 2,668
19년 전 조회 2,754
19년 전 조회 2,409
19년 전 조회 2,456
19년 전 조회 1,722
19년 전 조회 2,430
19년 전 조회 2,786
19년 전 조회 2,795
19년 전 조회 3,083
19년 전 조회 2,872
19년 전 조회 1,840
19년 전 조회 1,950
19년 전 조회 2,846
19년 전 조회 2,344
19년 전 조회 4,096
19년 전 조회 2,601
19년 전 조회 2,487
19년 전 조회 3,634
19년 전 조회 3,223
19년 전 조회 2,355
19년 전 조회 3,145
19년 전 조회 2,349
19년 전 조회 3,201