p

아이프레임 리사이즈가 주소에 www를 빼면 작동이 안돼요..

· 18년 전 · 1553
홈페이지 주소에 www를 붙이느냐 붙이지 않느냐에 따라서
그누보드를 삽입한 아이프레임의 리사이즈가 되었다 안되었다합니다.

www를 붙이고 접속하면 그누보드를 삽입한 아이프레임 자동 리사이징이
문제없이 잘되고, www를 붙이지 않고 접속하면 리사이징이 전혀 먹히지 않아요.
아이프레임 소스란 소스는 모두 적용해 봤는데 마찬가지네요

왜 그럴까요 ㅠ ㅠ

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">

<title>▩ test ▩</title>
<script language="JavaScript">
function reSize() {
try {
var objBody = auto_iframe.document.body;
var objFrame = document.all["auto_iframe"];
ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight);
objFrame.style.height = ifrmHeight;
}
catch(e) {}
}

function init_iframe() {
reSize();
setTimeout('init_iframe()',1)
}

init_iframe();
</script>

<style type="text/css">

body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #666666;
margin: 0;
padding: 0;
text-align: center;
color: #000000;
background-image: url(img/sub1_bg.jpg);
background-color: #dfe0c4;
background-repeat: repeat-x;
}
.oneColFixCtr #container {
width: 1024px;
margin: 0 auto;
border: 0px solid #000000;
text-align: left;
background: F7DBBE;
}
.oneColFixCtr #mainContent {
padding: 0 0px;
}
.style8 {color: #FFFFFF}
.style15 {font-size: 10pt}
.style16 {
font-size: 10pt;
color: #FFFFFF;


}
a:link {text-decoration: none; color: #819A09;}
a:visited {text-decoration: none; color:#819A09;}
a:active {color:#DC6900}
a:hover {color:#E7B632}
.style18 {font-size: 10pt; color: #819A09; }
.style17 {
background-image: url(img/sub1_05.jpg);
background-repeat: no-repeat;
}
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body class="oneColFixCtr">

<div id="container">
<div id="mainContent">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="197" align="left" valign="top" background="img/sub4_01.jpg"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','1024','height','197','src','img/sub01','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','wmode','transparent','movie','img/sub01' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="1024" height="197">
<param name="movie" value="img/sub01.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="img/sub01.swf" width="1024" height="197" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</noscript></td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td colspan="4" valign="top" background="img/sub4_leftLine.jpg"><p><img src="img/sub4_02.jpg" width="1024" height="31" /></p></td>
</tr>
<tr>
<td width="31" height="652" align="left" valign="top" background="img/sub4_leftB.jpg"><img src="img/sub4_03.jpg" width="31" height="652" /></td>
<td width="204" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/sub4_04.jpg" width="204" height="98" /></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
<td width="755" align="left" valign="top" background="img/sub1_05.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#FFFFFF">
<iframe src="<?=$g4[bbs_path]?>/board.php?bo_table=test" frameborder='0' width="100%" allowTransparency="true" name="auto_iframe" id="auto_iframe" marginwidth="0" marginheight="0" scrolling="no"></iframe> </td>
</tr>
</table>


<td width="34" align="left" valign="top" background="img/sub4_rightB.jpg"><img src="img/sub4_06.jpg" width="34" height="652" /></td>
</tr>

</table></td>
</tr>
<tr>
<td height="120" valign="top"><img src="img/sub4_08.jpg" width="1024" height="120" /></td>
</tr>
</table>
</div>
<!-- end #container --></div>
</body>
</html>
|
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
18년 전 조회 1,696
18년 전 조회 1,621
18년 전 조회 1,527
18년 전 조회 1,540
18년 전 조회 1,412
18년 전 조회 1,692
18년 전 조회 1,592
18년 전 조회 1,560
18년 전 조회 982
18년 전 조회 1,554
18년 전 조회 1,701
18년 전 조회 1,645
18년 전 조회 1,445
18년 전 조회 1,626
18년 전 조회 1,639
18년 전 조회 1,575
18년 전 조회 1,451
18년 전 조회 1,533
18년 전 조회 1,541
18년 전 조회 1,475