팝업창을 메인화면 열릴때 넣어보고 싶은데.. 어떻게 하나요

팝업 광고메뉴를 메인열릴때 손바닥 만한 크기로 열리고, 다시는 열리지 않도록 하는 버튼도 달아 놓고 싶은데..

아직 초보여서 어떻게 할지를 모르겠습니다.

간단하게라도 노하우나 팁좀 알려주세요.
|

댓글 1개

index.php

<!-- 추가 -->
<script language="JavaScript">
var opt = "scrollbars=yes,width=470,height=505,top=10,left=10";
popup_window("./newwinpop.php?nw_id=14", "WINDOW_14", opt);
</script>






newwinpop.php


<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
?>

<script language="JavaScript">
function div_close_14()
{
if (check_notice_14.checked == true) {
set_cookie("ck_notice_14", "1" , 24);
}
window.close();
}
</script>

<div id="div_notice_14">
<table width="450" height="500" cellpadding="0" cellspacing="0">
<tr>
<td valign=top>내용</td>
</tr>
<tr>
<td height=30 align=center><input type=checkbox id='check_notice_14' name='check_notice_14' value='1' onclick="div_close_14();"><font color=""> <label for='check_notice_14'>오늘 하루 이창을 열지 않습니다.</label><!-- 24 시간동안 이창을 다시 띄우지 않겠습니다. --></font></td>
</tr>
</table>
</div>

<? include_once("$g4[path]/tail.sub.php");?>




혹은...

http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=12755&sca=&sfl=wr_subject%7C%7Cwr_content&stx=%C6%CB%BE%F7&sop=and&page=2
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
17년 전 조회 962
17년 전 조회 761
17년 전 조회 1,542
17년 전 조회 986
17년 전 조회 793
17년 전 조회 1,931
17년 전 조회 703
17년 전 조회 650
17년 전 조회 725
17년 전 조회 824
17년 전 조회 1,577
17년 전 조회 753
17년 전 조회 753
17년 전 조회 829
17년 전 조회 1,016
17년 전 조회 721
17년 전 조회 776
17년 전 조회 749
17년 전 조회 757
17년 전 조회 665