묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
자바스크립트에서 개체가 필요하다고 하는데.....
2003.03.13 14:15
http://niponfeel.com메인화면에서 자바 스크립트 에러가 나오는데 무슨말인지 모르겠네요
에러내용은
줄 : 37
문자 : 1
오류 : 개체가 필요합니다.
코드 : 0
URL : http://niponfeel.com/
입니다.
정식으로 자바를 공부하지 않아서 이렇게 도움을 요청합니다.
index.php 소스는
<?
$_zb_url = "http://niponfeel.com/zboard/zboard/";
$_zb_path = "/free/home/niponfeel/html/zboard/zboard/";
include $_zb_path."outlogin.php";
?>
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
<script language="JavaScript">
<!--
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_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_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];}
}
//-->
</script>
<body onload=fff();MM_preloadImages('http://niponfeel.com/e/1-1.gif','http://niponfeel.com/e/2-1.gif','http://niponfeel.com/e/3-1.gif','http://niponfeel.com/e/4-1.gif','http://niponfeel.com/e/5-1.gif','http://niponfeel.com/e/6-1.gif','http://niponfeel.com/e/7-1.gif') leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<html>
<head>
<title>NIPONFEEL.COM 3.0</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr"></head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('http://niponfeel.com/e/1-1.gif')">
<table width="810" border="1" cellspacing="0" cellpadding="0" align="center">
<tr align="center">
<td colspan="6"><a href="http://niponfeel.com"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','http://niponfeel.com/e/1-1.gif',1)"><img name="Image12" border="0" src="http://niponfeel.com/e/1.gif" width="151" height="50"></a><a href="http://niponfeel.com/item.php"onfocus="this.blur()"></a><a href="http://niponfeel.com/item.php"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image19','','http://niponfeel.com/e/2-1.gif',1)"><img name="Image19" border="0" src="http://niponfeel.com/e/2.gif" width="93" height="50"></a><a href="http://niponfeel.com/nike.php"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image14','','http://niponfeel.com/e/3-1.gif',1)"><b><img name="Image14" border="0" src="http://niponfeel.com/e/3.gif" width="132" height="50"></b></a><a href="http://niponfeel.com/cool.php"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','http://niponfeel.com/e/4-1.gif',1)"><img name="Image15" border="0" src="http://niponfeel.com/e/4.gif" width="113" height="50"></a><a href="http://niponfeel.com/fa.php"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('+ '+ 'Image16','','http://niponfeel.com/e/5-1.gif',1)"><img name="Image16" border="0" src="http://niponfeel.com/e/5.gif" width="122" height="50"></a><a href="http://niponfeel.com/co.php"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image17','','http://niponfeel.com/e/6-1.gif',1)"><img name="Image17" border="0" src="http://niponfeel.com/e/6.gif" width="102" height="50"></a><a href="http://niponfeel.com/ji.php"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image18','','http://niponfeel.com/e/7-1.gif',1)"><img name="Image18" border="0" src="http://niponfeel.com/e/7.gif" width="97" height="50"></a></td>
</tr>
<tr align="center">
<td colspan="6"><img src="http://niponfeel.com/e/MAIN-T.jpg" width="810" height="160" border="0"></td>
</tr>
<tr>
<td align="center" valign="top" width="160"> <img src="http://niponfeel.com/e/login.jpg"><br>
<font color="#FFFFFF">.</font><br>
<? print_outlogin("tv", 1, 10) ?>
<BR>
<iframe name=현재접속자 width=160 height=200 marginwidth=0
marginheight=0 hspace=0 vspace=0 frameborder=0
src="http://niponfeel.com/zboard/zboard/loged/loged.php"></iframe><br>
<font color="#FFFFFF">..</font><br>
<br>
<a href="http://bombhead.com" target="_blank"><img src="http://niponfeel.com/e/bh.jpg" border="0"></a><br>
<font color="#FFFFFF">..</font><br>
<br>
<a href="http://niponfeel.com/zboard/zboard/zboard.php?id=200"><img src="http://niponfeel.com/e/200%25.jpg" border="0"></a><br>
<font color="#FFFFFF">..</font><br>
<br>
<a href="http://sakiroo.com"onfocus="this.blur()" target="_blank"><img src="http://niponfeel.com/e/s.gif" border="0"></a><br>
<font color="#FFFFFF">..</font><br>
<!-- OKcounter Code Start -->
<a href=http://okcounter.com/kr_status.html?id=331353 target="_blank"> <img src=http://okcounter.com/count.html?id=331353 border=0 hspace="35" vspace="0"></a>
<!-- OKcounter Code End -->
<br>
</td>
<td width="10" align="left" TABLE style="border:0" valign="top">
</td>
<td width="215" align="left" TABLE style="border:0" valign="top">
<div id="Layer1" style="position:absolute; width:210px; height:100px; z-index:1; top: 300">
<? print_bbs("new_b", "공지사항", "Ngong", 5, 20)?>
</div>
</td>
<td width="6" align="left" TABLE style="border:0" valign="top"></td>
<td width="219" align="left" TABLE style="border:0" valign="top"> <img src="http://niponfeel.com/e/news.jpg" width="219" height="50">
<br><br><br>
<div id="Layer2" style="position:absolute; width:210px; height:100px; z-index:2; top: 300">
<? print_bbs("new_b", "쿨스타일 소식", "sgong", 5, 20)?>
</div>
</td>
<td width="200" align="center" TABLE style="border:0" valign="top"><img src="http://niponfeel.com/e/week.jpg" width="200" height="50"><br>
<a href="http://niponfeel.com/zboard/zboard/view.php?id=coolbest&no=19"><img src="http://niponfeel.com/e/BEST.jpg" border="0"></a>
<br>
<iframe name=설문조사 width=200 height=350 marginwidth=0
marginheight=0 hspace=0 vspace=0 frameborder=0
src="http://niponfeel.com/vote/vote_blue.php"></iframe> <iframe src="http://niponfeel.com/zboard/webclient/webclient.html" width="0" height="0" border="0" frameborder="0" style="filter:Alpha(Opacity=0);"></iframe>
</td>
</tr>
<tr>
<td colspan="6"><img src="http://niponfeel.com/e/botton.jpg" width="810" height="50"></td>
</tr>
</table>
<script language="javascript">
<!--
if (document.forms['zb_login'] !=null) {
document.zb_login.user_id.focus();
}
//-->
</script>
</body>
</html>
에러내용은
줄 : 37
문자 : 1
오류 : 개체가 필요합니다.
코드 : 0
URL : http://niponfeel.com/
입니다.
정식으로 자바를 공부하지 않아서 이렇게 도움을 요청합니다.
index.php 소스는
<?
$_zb_url = "http://niponfeel.com/zboard/zboard/";
$_zb_path = "/free/home/niponfeel/html/zboard/zboard/";
include $_zb_path."outlogin.php";
?>
<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
<script language="JavaScript">
<!--
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_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_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];}
}
//-->
</script>
<body onload=fff();MM_preloadImages('http://niponfeel.com/e/1-1.gif','http://niponfeel.com/e/2-1.gif','http://niponfeel.com/e/3-1.gif','http://niponfeel.com/e/4-1.gif','http://niponfeel.com/e/5-1.gif','http://niponfeel.com/e/6-1.gif','http://niponfeel.com/e/7-1.gif') leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<html>
<head>
<title>NIPONFEEL.COM 3.0</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr"></head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('http://niponfeel.com/e/1-1.gif')">
<table width="810" border="1" cellspacing="0" cellpadding="0" align="center">
<tr align="center">
<td colspan="6"><a href="http://niponfeel.com"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','http://niponfeel.com/e/1-1.gif',1)"><img name="Image12" border="0" src="http://niponfeel.com/e/1.gif" width="151" height="50"></a><a href="http://niponfeel.com/item.php"onfocus="this.blur()"></a><a href="http://niponfeel.com/item.php"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image19','','http://niponfeel.com/e/2-1.gif',1)"><img name="Image19" border="0" src="http://niponfeel.com/e/2.gif" width="93" height="50"></a><a href="http://niponfeel.com/nike.php"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image14','','http://niponfeel.com/e/3-1.gif',1)"><b><img name="Image14" border="0" src="http://niponfeel.com/e/3.gif" width="132" height="50"></b></a><a href="http://niponfeel.com/cool.php"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','http://niponfeel.com/e/4-1.gif',1)"><img name="Image15" border="0" src="http://niponfeel.com/e/4.gif" width="113" height="50"></a><a href="http://niponfeel.com/fa.php"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('+ '+ 'Image16','','http://niponfeel.com/e/5-1.gif',1)"><img name="Image16" border="0" src="http://niponfeel.com/e/5.gif" width="122" height="50"></a><a href="http://niponfeel.com/co.php"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image17','','http://niponfeel.com/e/6-1.gif',1)"><img name="Image17" border="0" src="http://niponfeel.com/e/6.gif" width="102" height="50"></a><a href="http://niponfeel.com/ji.php"onfocus="this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image18','','http://niponfeel.com/e/7-1.gif',1)"><img name="Image18" border="0" src="http://niponfeel.com/e/7.gif" width="97" height="50"></a></td>
</tr>
<tr align="center">
<td colspan="6"><img src="http://niponfeel.com/e/MAIN-T.jpg" width="810" height="160" border="0"></td>
</tr>
<tr>
<td align="center" valign="top" width="160"> <img src="http://niponfeel.com/e/login.jpg"><br>
<font color="#FFFFFF">.</font><br>
<? print_outlogin("tv", 1, 10) ?>
<BR>
<iframe name=현재접속자 width=160 height=200 marginwidth=0
marginheight=0 hspace=0 vspace=0 frameborder=0
src="http://niponfeel.com/zboard/zboard/loged/loged.php"></iframe><br>
<font color="#FFFFFF">..</font><br>
<br>
<a href="http://bombhead.com" target="_blank"><img src="http://niponfeel.com/e/bh.jpg" border="0"></a><br>
<font color="#FFFFFF">..</font><br>
<br>
<a href="http://niponfeel.com/zboard/zboard/zboard.php?id=200"><img src="http://niponfeel.com/e/200%25.jpg" border="0"></a><br>
<font color="#FFFFFF">..</font><br>
<br>
<a href="http://sakiroo.com"onfocus="this.blur()" target="_blank"><img src="http://niponfeel.com/e/s.gif" border="0"></a><br>
<font color="#FFFFFF">..</font><br>
<!-- OKcounter Code Start -->
<a href=http://okcounter.com/kr_status.html?id=331353 target="_blank"> <img src=http://okcounter.com/count.html?id=331353 border=0 hspace="35" vspace="0"></a>
<!-- OKcounter Code End -->
<br>
</td>
<td width="10" align="left" TABLE style="border:0" valign="top">
</td>
<td width="215" align="left" TABLE style="border:0" valign="top">
<div id="Layer1" style="position:absolute; width:210px; height:100px; z-index:1; top: 300">
<? print_bbs("new_b", "공지사항", "Ngong", 5, 20)?>
</div>
</td>
<td width="6" align="left" TABLE style="border:0" valign="top"></td>
<td width="219" align="left" TABLE style="border:0" valign="top"> <img src="http://niponfeel.com/e/news.jpg" width="219" height="50">
<br><br><br>
<div id="Layer2" style="position:absolute; width:210px; height:100px; z-index:2; top: 300">
<? print_bbs("new_b", "쿨스타일 소식", "sgong", 5, 20)?>
</div>
</td>
<td width="200" align="center" TABLE style="border:0" valign="top"><img src="http://niponfeel.com/e/week.jpg" width="200" height="50"><br>
<a href="http://niponfeel.com/zboard/zboard/view.php?id=coolbest&no=19"><img src="http://niponfeel.com/e/BEST.jpg" border="0"></a>
<br>
<iframe name=설문조사 width=200 height=350 marginwidth=0
marginheight=0 hspace=0 vspace=0 frameborder=0
src="http://niponfeel.com/vote/vote_blue.php"></iframe> <iframe src="http://niponfeel.com/zboard/webclient/webclient.html" width="0" height="0" border="0" frameborder="0" style="filter:Alpha(Opacity=0);"></iframe>
</td>
</tr>
<tr>
<td colspan="6"><img src="http://niponfeel.com/e/botton.jpg" width="810" height="50"></td>
</tr>
</table>
<script language="javascript">
<!--
if (document.forms['zb_login'] !=null) {
document.zb_login.user_id.focus();
}
//-->
</script>
</body>
</html>
댓글 2
-
코코푸르나
2003.03.13 15:37
저는 잘보이는데요..오류없이...ㅡㅡa -
박규도
2003.03.13 16:32
아 관심가져주셔서 감사합니다.
해보다보니 해결했습니다.
즐거운하루되세요~