묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
팝업창이 뜨지 않는 이유좀 알려주세요
2003.09.08 13:00
팝업창 파일명은 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입니다.
메인페이지는 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입니다.
댓글 2
-
PHASE
2003.09.08 13:24
window.onload=startscroll 를 지워주니까 팝업창이 뜨네요... -
박은주
2003.09.08 13:29
허걱..감사합니다.. ^ ^;