<...","url":"https://sir.kr/boards/program/29148","author":{"@type":"Person","name":"산까치","url":"https://sir.kr/profile/58c46ff7-522e-4843-a1d5-37607a2adccf"},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":9}],"datePublished":"2007-05-14T23:34:36+09:00","dateModified":"2007-05-14T23:34:36+09:00","comment":[{"@type":"Comment","text":"아, 감사합니다. 잘 쓸게요.","author":{"@type":"Person","name":"칫치"},"datePublished":"2007-05-14T23:56:17+09:00"},{"@type":"Comment","text":"감사합니다.","author":{"@type":"Person","name":"블루데이"},"datePublished":"2007-05-15T01:35:11+09:00"},{"@type":"Comment","text":"http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=42840&sca=&sfl=mb_id%2C1&stx=cycity&sop=and\r\n저걸로 전에 스킨 하나 만들었던거에요,,","author":{"@type":"Person","name":"임동덕"},"datePublished":"2007-05-15T16:25:10+09:00"},{"@type":"Comment","text":"팝업창을 여러 개 띄우려면 어떻게 해야 하는지...ㅠㅠ","author":{"@type":"Person","name":"은하철도"},"datePublished":"2007-05-22T12:06:57+09:00"},{"@type":"Comment","text":"감사합니다","author":{"@type":"Person","name":"별빛님"},"datePublished":"2007-06-26T21:43:26+09:00"},{"@type":"Comment","text":"좋은자료 감사합니다.","author":{"@type":"Person","name":"도트"},"datePublished":"2007-07-30T07:35:07+09:00"},{"@type":"Comment","text":"좋은자료 감사드려요.","author":{"@type":"Person","name":"서동선화공주"},"datePublished":"2007-09-04T01:58:36+09:00"},{"@type":"Comment","text":"필요했던 건데 잘 쓰겠습니다.","author":{"@type":"Person","name":"바다사나이"},"datePublished":"2008-03-05T11:21:09+09:00"},{"@type":"Comment","text":" 괜찮은 레이어 팝업창 소스 ","author":{"@type":"Person","name":"알럽투데이"},"datePublished":"2008-05-30T00:18:03+09:00"}]}

괜찮은 레이어 팝업창 소스

<head>
<script language="JavaScript">
<!--
function setCookie( name, value, expiredays ) {
    var todayDate = new Date();
        todayDate.setDate( todayDate.getDate() + expiredays );
        document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
    }

function closeWin() {
    if ( document.notice_form.chkbox.checked ){
        setCookie( "maindiv", "done" , 1 );
    }
    document.all['divpop'].style.visibility = "hidden";
}
//--> 
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> 


<!-- POPUP -->
<div id="divpop" style="position:absolute;left:395px;top:190;z-index:200;visibility:hidden;">
<table width=300 height=400 cellpadding=2 cellspacing=0>
<tr>
    <td style="border:1px #666666 solid" height=360 align=center bgcolor=white>
    여기에 내용 삽입
    </td>
</tr>
<tr>
        <form name="notice_form">
    <td align=right bgcolor=white>
        <input type="checkbox" name="chkbox" value="checkbox">오늘 하루 이 창을 열지 않음
        <a href="javascript:closeWin();"><B>[닫기]</B></a>
    </td>
</tr>
        </form>
</table>
</div> 

<script language="Javascript">
cookiedata = document.cookie;   
if ( cookiedata.indexOf("maindiv=done") < 0 ){     
    document.all['divpop'].style.visibility = "visible";
    }
    else {
        document.all['divpop'].style.visibility = "hidden";
}
</script>
 
 
 
 
 
많은 소스중에서 제일 괜찮더군요.
 
잘 사용하세요^^
[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]
|

댓글 9개

아, 감사합니다. 잘 쓸게요.
감사합니다.
팝업창을 여러 개 띄우려면 어떻게 해야 하는지...ㅠㅠ
좋은자료 감사합니다.
좋은자료 감사드려요.
필요했던 건데 잘 쓰겠습니다.
괜찮은 레이어 팝업창 소스
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
18년 전 조회 3,570
18년 전 조회 2,754
18년 전 조회 2,419
18년 전 조회 2,850
18년 전 조회 6,413
18년 전 조회 3,070
18년 전 조회 4,871
18년 전 조회 2,336
18년 전 조회 1만
18년 전 조회 2,798
18년 전 조회 1,874
18년 전 조회 3,309
18년 전 조회 3,223
18년 전 조회 3,130
18년 전 조회 2,444
18년 전 조회 2,625
18년 전 조회 3,175
18년 전 조회 3,261
18년 전 조회 4,434
18년 전 조회 6,413
18년 전 조회 2,373
18년 전 조회 2,479
18년 전 조회 2,186
18년 전 조회 1,936
18년 전 조회 2,909
18년 전 조회 1,968
18년 전 조회 1,836
18년 전 조회 5,030
18년 전 조회 2,086
18년 전 조회 2,124
18년 전 조회 2,128
18년 전 조회 2,255
18년 전 조회 3,915
18년 전 조회 1,941
18년 전 조회 1,811
18년 전 조회 1,633
18년 전 조회 2,142
18년 전 조회 2,175
18년 전 조회 3,946
18년 전 조회 2,267
18년 전 조회 3,424
18년 전 조회 5,041
18년 전 조회 3,176
18년 전 조회 8,365
18년 전 조회 4,359
18년 전 조회 3,056
18년 전 조회 1,827
18년 전 조회 2,927
18년 전 조회 5,341
18년 전 조회 5,512
18년 전 조회 2,385
18년 전 조회 4,640
18년 전 조회 4,410
18년 전 조회 4,437
18년 전 조회 2,571
18년 전 조회 4,493
18년 전 조회 2,462
18년 전 조회 3,575
18년 전 조회 5,217
18년 전 조회 2,254
18년 전 조회 3,701
18년 전 조회 1,923
18년 전 조회 3,023
18년 전 조회 1,973
18년 전 조회 3,001
18년 전 조회 2,839
18년 전 조회 1,855
18년 전 조회 1,806
18년 전 조회 2,037
18년 전 조회 2,549
18년 전 조회 2,335
18년 전 조회 2,681
18년 전 조회 5,200
18년 전 조회 2,103
18년 전 조회 1,531
18년 전 조회 1,660
18년 전 조회 1,621
18년 전 조회 1,356
18년 전 조회 1,351
18년 전 조회 1,693
18년 전 조회 1,642
18년 전 조회 2,638
18년 전 조회 1,519
18년 전 조회 1,891
18년 전 조회 2,381
18년 전 조회 1,564
18년 전 조회 3,116
18년 전 조회 1,557
18년 전 조회 1,943
18년 전 조회 1,786
18년 전 조회 1,723
18년 전 조회 1,529
18년 전 조회 1,363
18년 전 조회 1,975
18년 전 조회 1,391
18년 전 조회 3,926
18년 전 조회 2,008
18년 전 조회 2,092
18년 전 조회 1,412
18년 전 조회 2,157