팝업창 다시 안뜨게 하기

· 19년 전 · 2084
-----매인----
<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,561
19년 전 조회 4,870
19년 전 조회 4,915
19년 전 조회 2,782
19년 전 조회 2,424
19년 전 조회 2,755
19년 전 조회 3,391
19년 전 조회 3,172
19년 전 조회 2,155
19년 전 조회 2,222
19년 전 조회 3,393
19년 전 조회 2,604
19년 전 조회 3,870
19년 전 조회 2,809
19년 전 조회 2,095
19년 전 조회 2,731
19년 전 조회 1,985
19년 전 조회 1,674
19년 전 조회 1,786
19년 전 조회 2,079
19년 전 조회 1,819
19년 전 조회 2,020
19년 전 조회 1,818
19년 전 조회 2,210
19년 전 조회 2,101
19년 전 조회 1,723
19년 전 조회 1,707
19년 전 조회 1,603
19년 전 조회 1,473
19년 전 조회 1,660
19년 전 조회 2,223
19년 전 조회 2,646
19년 전 조회 3,140
19년 전 조회 2,556
19년 전 조회 2,053
19년 전 조회 7,287
19년 전 조회 3,989
19년 전 조회 2,570
19년 전 조회 2,609
19년 전 조회 3,112
19년 전 조회 6,021
19년 전 조회 5,825
19년 전 조회 2,483
19년 전 조회 3,542
19년 전 조회 3,103
19년 전 조회 2,466
19년 전 조회 2,983
19년 전 조회 1,835
19년 전 조회 1,979
19년 전 조회 2,085
19년 전 조회 2,259
19년 전 조회 1,925
19년 전 조회 2,066
19년 전 조회 2,018
19년 전 조회 2,104
19년 전 조회 1,772
19년 전 조회 2,897
19년 전 조회 2,217
19년 전 조회 3,485
19년 전 조회 3,542
19년 전 조회 2,784
19년 전 조회 2,858
19년 전 조회 2,693
19년 전 조회 2,937
19년 전 조회 2,942
19년 전 조회 3,407
19년 전 조회 3,126
19년 전 조회 5,529
19년 전 조회 2,357
19년 전 조회 2,402
19년 전 조회 2,270
19년 전 조회 2,183
19년 전 조회 2,192
19년 전 조회 2,392
19년 전 조회 3,466
19년 전 조회 3,316
19년 전 조회 3,112
19년 전 조회 2,794
19년 전 조회 2,892
19년 전 조회 2,556
19년 전 조회 2,595
19년 전 조회 1,869
19년 전 조회 2,571
19년 전 조회 2,930
19년 전 조회 2,932
19년 전 조회 3,229
19년 전 조회 3,015
19년 전 조회 1,970
19년 전 조회 2,072
19년 전 조회 2,975
19년 전 조회 2,468
19년 전 조회 4,239
19년 전 조회 2,743
19년 전 조회 2,625
19년 전 조회 3,775
19년 전 조회 3,346
19년 전 조회 2,496
19년 전 조회 3,287
19년 전 조회 2,491
19년 전 조회 3,352