묻고답하기

팝업창 파일명은 popup02.html이고
메인페이지는 index.php입니다.
pupup02.html의 소스는
===========================
<html>
<head>
<title>★ 추석 이야기 이벤트! ★</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
<!--
body {  font-family: "돋움"; font-size: 12px; line-height: 20px; font-weight: normal; color: 333333; text-decoration: none}
td {  font-family: "돋움"; font-size: 12px; line-height: 20px; font-weight: normal; color: 333333; text-decoration: none}
-->
</style>
<script language="JavaScript">
<!--

function closeWin(){
opener.location='http://www.petpia.biz/info/info1_list.php?gubun=10';
self.close();
}

//-->
</script>

</head>

<body leftmargin="0" topmargin="0" bgcolor="#FFFFFF">
<table border="0" cellspacing="0" cellpadding="0" align="center" width="427">
  <tr>
    <td>
      <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr>
          
        <td><img src="img/popup.jpg" width="599" height="433" border="0" usemap="#Map"></td>
        </tr>
        <tr>
          <td>
          </td>
  </tr>
  <tr><td height="1" align="right"></td></tr>
  </table>
<map name="Map">
  <area shape="circle" coords="538,280,43" href="javascript:closeWin()">
</map>
</body>
</html>
====================================================================================

index.php에서 팝업창 띄우기 관련 소스하구 중간에 미심쩍은 부분까지 같이 적으면.
===================================================================================
<html>
<head>
<title>***>> petpia에 오신것을 환영합니다 <<***</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<meta http-equiv="pragma" content="no-cache">
<link rel="stylesheet" href="style.css" type="text/css">
<style type="text/css">
<!--
#floater {
        position:absolute;
        visibility:visible;
        left: 766px;
}
-->
</style>
<script language="JavaScript">
<!--
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeat() {
if(IE) {
diffY = document.body.scrollTop;
diffX = 0;
}
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .1 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelTop += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) {
percent = .1 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelLeft += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
}
if(NS || IE) action = window.setInterval("heartBeat()",1);
//-->
</script>
<script language="JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->

<!--
function getCookie(name) {
var nameOfCookie = name + "=";
var x = 0

while ( x <= document.cookie.length ) {
var y = (x+nameOfCookie.length);
if ( document.cookie.substring( x, y ) == nameOfCookie ) {
if ( (endOfCookie=document.cookie.indexOf( ";",y )) == -1 )
endOfCookie = document.cookie.length;
return unescape( document.cookie.substring(y, endOfCookie ) );
}
x = document.cookie.indexOf( " ", x ) + 1;
if ( x == 0 )
break;
}
return "";
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//-->
</script>


</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_openBrWindow('popup02.html','','width=600,height=434')">
.
.
.
.
.

<table width="765" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <!-- 왼쪽 컨텐츠 시작 -->
                <td width="199" valign="top"><table width="199" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td><img src="http://www.petpia.biz/img/bunyang_title.gif" width="199" height="25"></td>
                    </tr>
                    <tr>
                      <td valign="top"><script language="JavaScript1.2">
///////configure the below four variables to change the style of the slider///////
//set the scrollerwidth and scrollerheight to the width/height of the LARGEST image in your slideshow!
var scrollerwidth=199
var scrollerheight=90
var scrollerbgcolor='white'
//2000 miliseconds=1 seconds
var pausebetweenimages=2000

//configure the below variable to change the images used in the slideshow. If you wish the images to be clickable, simply wrap the images with the appropriate <a> tag
var slideimages=new Array()
slideimages[0]='<a href="http://www.petpia.biz/info/info8_view.php?pk=16"><img src="http://www.petpia.biz/img/bunyang_09.gif" border="0"></a>'
slideimages[1]='<a href="http://www.petpia.biz/info/info8_view.php?pk=14"><img src="http://www.petpia.biz/img/bunyang_06.gif" border="0"></a>'
slideimages[2]='<a href="http://www.petpia.biz/info/info8_view.php?pk=15"><img src="http://www.petpia.biz/img/bunyang_07.gif" border="0"></a>'
slideimages[3]='<a href="http://www.petpia.biz/info/info8_view.php?pk=13"><img src="http://www.petpia.biz/img/bunyang_08.gif" border="0"></a>'
slideimages[4]='<a href="http://www.petpia.biz/info/info8_view.php?pk=5"><img src="http://www.petpia.biz/img/bunyang_01.gif" border="0"></a>'
slideimages[5]='<a href="http://www.petpia.biz/info/info8_view.php?pk=6"><img src="http://www.petpia.biz/img/bunyang_02.gif" border="0"></a>'
slideimages[6]='<a href="http://www.petpia.biz/info/info8_view.php?pk=7"><img src="http://www.petpia.biz/img/bunyang_03.gif" border="0"></a>'
slideimages[7]='<a href="http://www.petpia.biz/info/info8_view.php?pk=8"><img src="http://www.petpia.biz/img/bunyang_04.gif" border="0"></a>'
slideimages[8]='<a href="http://www.petpia.biz/info/info8_view.php?pk=9"><img src="http://www.petpia.biz/img/bunyang_05.gif" border="0"></a>'

//extend this list

///////Do not edit pass this line///////////////////////
    

if (slideimages.length>1)
i=2
else
i=0

function move1(whichlayer){
tlayer=eval(whichlayer)
if (tlayer.top>0&&tlayer.top<=5){
tlayer.top=0
setTimeout("move1(tlayer)",pausebetweenimages)
setTimeout("move2(document.main.document.second)",pausebetweenimages)
return
}
if (tlayer.top>=tlayer.document.height*-1){
tlayer.top-=5
setTimeout("move1(tlayer)",100)
}
else{
tlayer.top=scrollerheight
tlayer.document.write(slideimages[i])
tlayer.document.close()
if (i==slideimages.length-1)
i=0
else
i++
}
}

function move2(whichlayer){
tlayer2=eval(whichlayer)
if (tlayer2.top>0&&tlayer2.top<=5){
tlayer2.top=0
setTimeout("move2(tlayer2)",pausebetweenimages)
setTimeout("move1(document.main.document.first)",pausebetweenimages)
return
}
if (tlayer2.top>=tlayer2.document.height*-1){
tlayer2.top-=5
setTimeout("move2(tlayer2)",100)
}
else{
tlayer2.top=scrollerheight
tlayer2.document.write(slideimages[i])
tlayer2.document.close()
if (i==slideimages.length-1)
i=0
else
i++
}
}

function move3(whichdiv){
tdiv=eval(whichdiv)
if (tdiv.style.pixelTop>0&&tdiv.style.pixelTop<=5){
tdiv.style.pixelTop=0
setTimeout("move3(tdiv)",pausebetweenimages)
setTimeout("move4(second2)",pausebetweenimages)
return
}
if (tdiv.style.pixelTop>=tdiv.offsetHeight*-1){
tdiv.style.pixelTop-=5
setTimeout("move3(tdiv)",100)
}
else{
tdiv.style.pixelTop=scrollerheight
tdiv.innerHTML=slideimages[i]
if (i==slideimages.length-1)
i=0
else
i++
}
}

function move4(whichdiv){
tdiv2=eval(whichdiv)
if (tdiv2.style.pixelTop>0&&tdiv2.style.pixelTop<=5){
tdiv2.style.pixelTop=0
setTimeout("move4(tdiv2)",pausebetweenimages)
setTimeout("move3(first2)",pausebetweenimages)
return
}
if (tdiv2.style.pixelTop>=tdiv2.offsetHeight*-1){
tdiv2.style.pixelTop-=5
setTimeout("move4(second2)",100)
}
else{
tdiv2.style.pixelTop=scrollerheight
tdiv2.innerHTML=slideimages[i]
if (i==slideimages.length-1)
i=0
else
i++
}
}

function startscroll(){
if (document.all){
move3(first2)
second2.style.top=scrollerheight
}
else if (document.layers){
document.main.visibility='show'
move1(document.main.document.first)
document.main.document.second.top=scrollerheight+5
document.main.document.second.visibility='show'
}
}

window.onload=startscroll

</script> <ilayer id="main" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor}; visibility=hide>
                        <layer id="first" left="0" top="1" width="1" height="200" z-index="1" >
                        <p>
                          <script language="JavaScript1.2">
if (document.layers)
document.write(slideimages[0])
</script>
                        </layer>
                        <layer id="second" left="0" top="0" width="1" height="200" z-index="1">
                        <p>
                          <script language="JavaScript1.2">
if (document.layers)
document.write(slideimages[1])
</script>
                        </layer>
                        <p></ilayer>
                        <script language="JavaScript1.2">
if (document.all){
document.writeln('<span id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hiden;background-color:'+scrollerbgcolor+'">')
document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0;top:0">')
document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:0;top:1;">')
document.write(slideimages[0])
document.writeln('</div>')
document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0;top:0">')
document.write(slideimages[1])
document.writeln('</div>')
document.writeln('</div>')
document.writeln('</span>')
}
</script></td>
======================================================================================

이렇게 됩니다.
왜 팝업창이 뜨지 않는지 모르겠어요..
고수님들 부탁드립니다..
참고로 사이트는 www.petpia.biz입니다.
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
런업 url 단축싸이트 제작시에..  
붐이에요 쿡래빗님께서 만드신 퀴즈퀴즈 모듈을 두개로 만들고싶습니다. [1] 2014.09.03 by 숭숭군
자몽스 반응이 느려서 글이 두세개씩 써져요 [7] 2014.09.03 by 키스투엑스이
이게머냐 메인화면 하단이 보이지 않아요.... [2] file 2014.09.03 by 이게머냐
토라상 다국어 설정시 문의 드립니다. [3] file 2014.09.03 by 토라상
환환821 커뮤니티 사이트 스킨 질문이요 [11] 2014.09.03 by dev_ratdp
순박 메인에 메뉴가 안보여요 제발좀 도와주세요 ㅠㅠ.. [2] 2014.09.03 by 순박
김햄C XE 글쓰기 오류관련해서 질문드립니다! 답변 부탁 드립니다. [1] file 2014.09.03 by treasurej
꼰대 게시판 페이지에 위젯 달기??? [2] 2014.09.03 by 앙띠2
순박 메뉴에 게시판 추가 어떻게 하죠 ㅠ_ㅠ? [1] 2014.09.03 by treasurej
초보모임 질문입니다 [1] 2014.09.03 by 똑디
slkaw Contact Us 에서 항목추가 수정하기 힘든가요? [4] 2014.09.03 by 앙띠2
피리야스 최근게시물에 누리고 상품표시 질문입니다. [4] 2014.09.03 by 피리야스
죠셉 vimeo(비메오) 전체화면 오류  
김타조알 룰셋 관련해서 질문드립니다. [2] 2014.09.03 by 김타조알
김타조알 xe 모듈제작 질문입니다. [4] 2014.09.03 by 김타조알
putty 비밀글 설정을 해놓았는데 자동으로 라디오 버튼 체크되게 하려는것좀 도와주세요. [2] file 2014.09.03 by putty
ojinger 게시판관리>사용자정의 수정이요. [1] file 2014.09.03 by Hello_XE
Happiness sendmail.exe 오류  
xe마스터하는그날까지 xe질문이요도와주세요ㅠㅠ [1] file 2014.09.03 by 앙띠2
169..5cm 도메인/xe.com 과 도메인.com 으로 생기는오류 [1] file 2014.09.03 by 몽실아빠
진유선 회원가입폼에서 비번문제 [2] 2014.09.03 by ForcePlane
아직은어려 xe 게시판에 동영상 전체화면 어떻게 구현하나요??  
생컨 대댓글 작성시 새로운 창이 열리는걸 손보고 싶습니다. [22] file 2014.09.03 by IOZ
Research 모듈 개발중인데 관리자페이지 메뉴는 어떻게 등록하나요? [1] 2014.09.03 by sejin7940
김익룡 xe 상단 로고 페이지는 어딘가요? [5] 2014.09.03 by 앙띠2
bbqzgo 레이아웃에 콘텐츠부분을 편집하려고하는데요. [11] file 2014.09.03 by IOZ
xe를 jsp 기반 서버에서 돌아가게 할 수 있는 방법이 있나요? [1] 2014.09.03 by 로이조52
준최식 회원가입시 입력된 변수 ( 주소 ) 를 가지고 지역광고를 내려하는데 [3] 2014.09.03 by 준최식
가을하늘2 구글크롬으로 홈페이지 접속시 악성코드에 의한 접속차단 관련 [1] file 2014.09.03 by pezex