묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
룰오버 오류 문제.. (해결좀 해주세요 ㅜ.ㅡ)
2003.05.09 23:35
<a href="http://lby11.gana4u.co.kr/main.htm" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', 'image/main1.gif', true);"><img src="image/main.gif" width="110" height="40" border="0" name="image1"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=notice" OnMouseOut="na_restore_img_src('image2', 'document')" OnMouseOver="na_change_img_src('image2', 'document', 'image/notice1.gif', true);"><img src="image/notice.gif" width="110" height="40" border="0" name="image2"></a><a OnMouseOut="na_restore_img_src('image3', 'document')" OnMouseOver="na_change_img_src('image3'+
'+
', 'document', 'image/clan1.gif', true);"><img src="image/clan.gif" width="110" height="40" border="0" name="image3"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=member" OnMouseOut="na_restore_img_src('image4', 'document')" OnMouseOver="na_change_img_src('image4', 'document', 'image/member1.gif', true);"><img src="image/member.gif" width="110" height="40" border="0" name="image4"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=phoenix" OnMouseOut="na_restore_img_src('image5', 'document')" OnMouseOver="na_change_img_src('image5', 'document', 'image/clanboard1.gif', true);"><img src="image/clanboard.gif" width="110" height="40" border="0" name="image5"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=board" OnMouseOut="na_restore_img_src('image6', 'document')" OnMouseOver="na_change_img_src('image6', 'document', 'image/community1.gif', true);"><img src="image/community.gif" width="110" height="40" border="0" name="image6"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=battle" OnMouseOut="na_restore_img_src('image7'+
', 'document')" OnMouseOver="na_change_img_src('image7', 'document', 'image/battle1.gif', true);"><img src="image/battle.gif" width="110" height="40" border="0" name="image7"></a></p>
이게 제 메뉴 소스인데요...나모로 룰오버로 작업한건데요..업로드했을 때 메인화면(html) 에서는 룰오버가 잘 작동하는데. 각각 메뉴 들어가면 해더 푸더로 작업을 했는데 룰오버가 작동하지 않고 페이지 오류가 있네요.. 해결법좀 아시는분 설명좀 부탁 드려요 ^^...
주소는 http://phoenixclan.wo.ro 입니다.
아래는 해더 소스 입니다.
<?
$_zb_url = "http://lby11.gana4u.co.kr/zbboard/";
$_zb_path = "/home/lby11/public_html/zbboard/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>PhoeNix Clan</title>
<meta name="generator" content="Namo WebEditor v5.0">
<style type="text/css">
<!--
A:link{text-decoration:none}
A:visited{text-decoration:none}
-->
</style>
<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
<?
$_zb_url = "http://lby11.gana4u.co.kr/zbboard/";
$_zb_path = "/home/lby11/public_html/zbboard/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>PhoeNix Clan</title>
<meta name="generator" content="Namo WebEditor v5.0">
<style type="text/css">
<!--
A:link{text-decoration:none}
A:visited{text-decoration:none}
-->
</style>
<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape'+ ', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == ''+ ')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
function na_preload_img()
{
var img_list = na_preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i+1];
}
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
// -->
</script>
</head>
<body bgcolor="white" text="black" link="black" vlink="black" alink="black" background="bg01.gif" leftmargin='0' marginwidth='0'+ ' topmargin='0' marginheight='0' OnLoad="na_preload_img(false, 'image/main1.gif'+ ', 'image/notice1.gif', 'image/clan1.gif', 'image/member1.gif', 'image/clanboard1.gif', 'image/community1.gif', 'image/battle1.gif');">
<table cellspacing="0" width="770" height="401" bordercolordark="white" bordercolorlight="black" bgcolor="white" cellpadding="0" border="0">
<tr>
<td width="770" height="40" colspan="4" background="/image/top.gif">
<p> </p>
</td>
</tr>
<tr>
<td width="770" height="250" colspan="4" background="/image/Untitled-3.gif">
<p> </p>
</td>
</tr>
<tr>
<td width="770" height="40" colspan="4">
<p><a href="http://lby11.gana4u.co.kr/main.htm" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', '/image/main1.gif', true);"><img src="/image/main.gif" width="110" height="40" border="0" name="image1"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=notice" OnMouseOut="na_restore_img_src('image2', 'document')" OnMouseOver="na_change_img_src('image2', 'document', '/image/notice1.gif', true);"><img src="/image/notice.gif" width="110" height="40" border="0" name="image2"></a><a OnMouseOut="na_restore_img_src('image3', 'document')" OnMouseOver="na_change_img_src('image3', 'document', '/image/clan1.gif', true);"><img src="/image/clan.gif" width="110" height="40" border="0" name="image3"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=member" OnMouseOut="na_restore_img_src('image4', 'document')" OnMouseOver="na_change_img_src('image4', 'document', '/image/member1.gif', true);"><img src="/image/member.gif" width="110" height="40" border="0" name="image4"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=phoenix" OnMouseOut="na_restore_img_src('image5', 'document')" OnMouseOver="na_change_img_src('image5'+ ', 'document', '/image/clanboard1.gif', true);"><img src="/image/clanboard.gif" width="110" height="40" border="0" name="image5"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=board" OnMouseOut="na_restore_img_src('image6', 'document')" OnMouseOver="na_change_img_src('image6', 'document', '/image/community1.gif', true);"><img src="/image/community.gif" width="110" height="40" border="0" name="image6"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=battle" OnMouseOut="na_restore_img_src('image7', 'document')" OnMouseOver="na_change_img_src('image7', 'document', '/image/battle1.gif', true);"><img src="/image/battle.gif" width="110" height="40" border="0" name="image7"></a></p>
</td>
</tr>
<tr>
<td width="770" height="17" colspan="4">
<p> </p>
</td>
</tr>
<tr>
<td width="125" height="396" valign="top" rowspan="6">
<p><img src="/image/loginmenu.gif" width="125" height="30" border="0"></p>
<p><? print_outlogin("agi_login", 1, 10) ?> </p>
<p> </p>
<p> </p>
<p><img src="/image/loginmembermenu.gif" width="125" height="30" border="0"></p>
<p><iframe src="http://lby11.gana4u.co.kr/zbboard/loged/loged.php" frameborder="0" width="120" height="158" marginwidth="0"
marginheight="0" scrolling="auto"></iframe>
</p>
</td>
<td width="18" height="226" rowspan="4">
<p> </p>
</td>
<td width="627" height="28" colspan="2" valign="top">
<p>
이게 제 메뉴 소스인데요...나모로 룰오버로 작업한건데요..업로드했을 때 메인화면(html) 에서는 룰오버가 잘 작동하는데. 각각 메뉴 들어가면 해더 푸더로 작업을 했는데 룰오버가 작동하지 않고 페이지 오류가 있네요.. 해결법좀 아시는분 설명좀 부탁 드려요 ^^...
주소는 http://phoenixclan.wo.ro 입니다.
아래는 해더 소스 입니다.
<?
$_zb_url = "http://lby11.gana4u.co.kr/zbboard/";
$_zb_path = "/home/lby11/public_html/zbboard/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>PhoeNix Clan</title>
<meta name="generator" content="Namo WebEditor v5.0">
<style type="text/css">
<!--
A:link{text-decoration:none}
A:visited{text-decoration:none}
-->
</style>
<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
<?
$_zb_url = "http://lby11.gana4u.co.kr/zbboard/";
$_zb_path = "/home/lby11/public_html/zbboard/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>PhoeNix Clan</title>
<meta name="generator" content="Namo WebEditor v5.0">
<style type="text/css">
<!--
A:link{text-decoration:none}
A:visited{text-decoration:none}
-->
</style>
<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape'+ ', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == ''+ ')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
function na_preload_img()
{
var img_list = na_preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i+1];
}
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
// -->
</script>
</head>
<body bgcolor="white" text="black" link="black" vlink="black" alink="black" background="bg01.gif" leftmargin='0' marginwidth='0'+ ' topmargin='0' marginheight='0' OnLoad="na_preload_img(false, 'image/main1.gif'+ ', 'image/notice1.gif', 'image/clan1.gif', 'image/member1.gif', 'image/clanboard1.gif', 'image/community1.gif', 'image/battle1.gif');">
<table cellspacing="0" width="770" height="401" bordercolordark="white" bordercolorlight="black" bgcolor="white" cellpadding="0" border="0">
<tr>
<td width="770" height="40" colspan="4" background="/image/top.gif">
<p> </p>
</td>
</tr>
<tr>
<td width="770" height="250" colspan="4" background="/image/Untitled-3.gif">
<p> </p>
</td>
</tr>
<tr>
<td width="770" height="40" colspan="4">
<p><a href="http://lby11.gana4u.co.kr/main.htm" OnMouseOut="na_restore_img_src('image1', 'document')" OnMouseOver="na_change_img_src('image1', 'document', '/image/main1.gif', true);"><img src="/image/main.gif" width="110" height="40" border="0" name="image1"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=notice" OnMouseOut="na_restore_img_src('image2', 'document')" OnMouseOver="na_change_img_src('image2', 'document', '/image/notice1.gif', true);"><img src="/image/notice.gif" width="110" height="40" border="0" name="image2"></a><a OnMouseOut="na_restore_img_src('image3', 'document')" OnMouseOver="na_change_img_src('image3', 'document', '/image/clan1.gif', true);"><img src="/image/clan.gif" width="110" height="40" border="0" name="image3"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=member" OnMouseOut="na_restore_img_src('image4', 'document')" OnMouseOver="na_change_img_src('image4', 'document', '/image/member1.gif', true);"><img src="/image/member.gif" width="110" height="40" border="0" name="image4"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=phoenix" OnMouseOut="na_restore_img_src('image5', 'document')" OnMouseOver="na_change_img_src('image5'+ ', 'document', '/image/clanboard1.gif', true);"><img src="/image/clanboard.gif" width="110" height="40" border="0" name="image5"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=board" OnMouseOut="na_restore_img_src('image6', 'document')" OnMouseOver="na_change_img_src('image6', 'document', '/image/community1.gif', true);"><img src="/image/community.gif" width="110" height="40" border="0" name="image6"></a><a href="http://lby11.gana4u.co.kr/zbboard/zboard.php?id=battle" OnMouseOut="na_restore_img_src('image7', 'document')" OnMouseOver="na_change_img_src('image7', 'document', '/image/battle1.gif', true);"><img src="/image/battle.gif" width="110" height="40" border="0" name="image7"></a></p>
</td>
</tr>
<tr>
<td width="770" height="17" colspan="4">
<p> </p>
</td>
</tr>
<tr>
<td width="125" height="396" valign="top" rowspan="6">
<p><img src="/image/loginmenu.gif" width="125" height="30" border="0"></p>
<p><? print_outlogin("agi_login", 1, 10) ?> </p>
<p> </p>
<p> </p>
<p><img src="/image/loginmembermenu.gif" width="125" height="30" border="0"></p>
<p><iframe src="http://lby11.gana4u.co.kr/zbboard/loged/loged.php" frameborder="0" width="120" height="158" marginwidth="0"
marginheight="0" scrolling="auto"></iframe>
</p>
</td>
<td width="18" height="226" rowspan="4">
<p> </p>
</td>
<td width="627" height="28" colspan="2" valign="top">
<p>