팝업창 다시 안뜨게 하기

· 19년 전 · 1884
-----매인----
<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,358
19년 전 조회 4,653
19년 전 조회 4,703
19년 전 조회 2,563
19년 전 조회 2,221
19년 전 조회 2,555
19년 전 조회 3,180
19년 전 조회 2,978
19년 전 조회 1,942
19년 전 조회 2,015
19년 전 조회 3,200
19년 전 조회 2,411
19년 전 조회 3,677
19년 전 조회 2,612
19년 전 조회 1,905
19년 전 조회 2,526
19년 전 조회 1,775
19년 전 조회 1,456
19년 전 조회 1,587
19년 전 조회 1,861
19년 전 조회 1,623
19년 전 조회 1,827
19년 전 조회 1,617
19년 전 조회 2,007
19년 전 조회 1,896
19년 전 조회 1,502
19년 전 조회 1,504
19년 전 조회 1,411
19년 전 조회 1,282
19년 전 조회 1,457
19년 전 조회 2,028
19년 전 조회 2,441
19년 전 조회 2,933
19년 전 조회 2,355
19년 전 조회 1,859
19년 전 조회 7,086
19년 전 조회 3,776
19년 전 조회 2,385
19년 전 조회 2,403
19년 전 조회 2,894
19년 전 조회 5,827
19년 전 조회 5,611
19년 전 조회 2,293
19년 전 조회 3,350
19년 전 조회 2,904
19년 전 조회 2,262
19년 전 조회 2,776
19년 전 조회 1,632
19년 전 조회 1,788
19년 전 조회 1,885
19년 전 조회 2,061
19년 전 조회 1,734
19년 전 조회 1,876
19년 전 조회 1,832
19년 전 조회 1,902
19년 전 조회 1,581
19년 전 조회 2,699
19년 전 조회 2,034
19년 전 조회 3,290
19년 전 조회 3,324
19년 전 조회 2,581
19년 전 조회 2,656
19년 전 조회 2,489
19년 전 조회 2,739
19년 전 조회 2,740
19년 전 조회 3,211
19년 전 조회 2,916
19년 전 조회 5,336
19년 전 조회 2,160
19년 전 조회 2,245
19년 전 조회 2,067
19년 전 조회 1,980
19년 전 조회 1,982
19년 전 조회 2,175
19년 전 조회 3,247
19년 전 조회 3,116
19년 전 조회 2,893
19년 전 조회 2,602
19년 전 조회 2,678
19년 전 조회 2,343
19년 전 조회 2,379
19년 전 조회 1,646
19년 전 조회 2,362
19년 전 조회 2,719
19년 전 조회 2,710
19년 전 조회 3,019
19년 전 조회 2,795
19년 전 조회 1,761
19년 전 조회 1,867
19년 전 조회 2,779
19년 전 조회 2,265
19년 전 조회 4,025
19년 전 조회 2,529
19년 전 조회 2,419
19년 전 조회 3,566
19년 전 조회 3,137
19년 전 조회 2,278
19년 전 조회 3,070
19년 전 조회 2,283
19년 전 조회 3,129