묻고답하기

팝업창 파일명은 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 남기남
진지한남자 누리고 쇼핑몰 사이트 화폐 이름 변경 방법 [2] file 2014.09.03 by 진지한남자
섹쉬올빼미 특정 스킨에만 필수 입력항목 확인 메시지의 필드명 변경이 가능할까요? [3] 2014.09.03 by 섹쉬올빼미
unfade 모든 페이지가 localhost/xe/xxx 로 들어가집니다. [2] 2014.09.03 by unfade
자몽스 익명메모장에서요! [11] 2014.09.03 by DoorWeb
자몽스 스킨이나 모듈 어떻게 지우나요? [3] 2014.09.03 by 410contents
So_BLuE 파일 업로드시 zero byte file 오류가 납니다.  
쿵푸팬더 rest 게시판 스킨 갤러리 떰네일 크기 조절?  
심프슨 일반 사용자로 게시판에 글쓰기가 안되는 문제 [7] 2014.09.04 by SeungXE
선거합시다 투표 관련 몇 개의 질문이 있습니다. [1] 2014.09.04 by SeungXE
ssy080 XE 이전시 [3] 2014.09.04 by treasurej
쿨럭이 아래 스트롤 이용시 짧림현상 때문에요(이미지첨부) file  
짝사랑 구글 웹마스터 도구 등록 관련질문 [1] 2014.09.04 by SeungXE
곰탱병장 게시글 submit 시에 아이디변경 [1] 2014.09.04 by SeungXE
킴Z 특정 게시판 버튼수정 방법 (한글->영어) [1] 2014.09.04 by SeungXE
Jworld 전문가님들의 도움이 필요합니다. [4] file 2014.09.04 by Jworld
169..5cm 도메인/xe.com을 도메인.com 으로 바꾸는법 [3] 2014.09.04 by 몽실아빠
준최식 지역별 광고 전에 여쭈었는데, slection으로 지역선택 (서울,부산경기등.) 하려는데 switch코드 질문합니다. [1] 2014.09.04 by Double'U'
사랑해요XE xe 사이트안에 블로그 서비스를 만드려면 어떻게 해야하나요? [9] 2014.09.04 by oscarmike
모몽 로그인후 사이트접속하게 설정하는방법 [2] 2014.09.04 by 모몽
지룡자 홈페이지 저거 전부 검색로봇이 글거간거 맞죠? [1] 2014.09.04 by 퍼니엑스이
사랑해요XE 2초 이내에 글 및 댓글 작성 금지하려면 어떻게 해야하나요? [3] file 2014.09.04 by 퍼니엑스이
푸주간 1.4 -> 1.7.* 업데이트 후 관리자 로그인이 안됩니다. [4] 2014.09.05 by 밤의왕부킹
WillKim FTP 파일 업로드가 계속 실패 ㅜㅜ [3] 2014.09.04 by WillKim
용초딩 세진님의 모바일 이미지 새창확대 애드온 작동이 안되는데  
bbqzgo 휘즈 모바일 레이아웃에서 헤더부분 아이콘 색깔 바꿀 수 있는 방법이 ?  
최윤한 xe 1.5 ->xe 1.7 업그레이드시 xml 내보내기 어떻게 하나요 [2] 2014.09.04 by 최윤한
최윤한 페이스북 아이디로 로그인 되게 하려면 [2] 2014.09.04 by 최윤한
qream 홈 페이지로 사용하기 메뉴없이 사용하는 법 [12] file 2014.09.04 by qream
초보모임 질문한판 합니다 [1] 2014.09.04 by GG
멍충돋네 알림센터 모듈 적용했는데 업데이트버튼 눌러도 되는 건가요? [5] file 2014.09.04 by 멍충돋네