묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
소스올립니다.iframe Link관련
2010.09.14 14:36
<!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> <title>시작 페이지로 지정하기</title>
<META http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
<!--
function start() {
startpage.style.behavior='url(#default#homepage)undefined;
startpage.setHomePage('http://a931004.zoa.to/');
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-image: url(images/index_01.jpg)undefined;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
#apDiv1 {
position:absolute;
left:469px;
top:51px;
width:340px;
height:30px;
z-index:1;
}
#apDiv2 {
position:absolute;
left:565px;
top:0px;
width:16px;
height:1px;
z-index:7;
}
#apDiv3 {
position:absolute;
left:609px;
top:0px;
width:201px;
height:16px;
z-index:7;
}
#apDiv4 {
position:absolute;
left:610px;
top:0px;
width:242px;
height:16px;
z-index:7;
}
-->
</style>
<script src="file:///C|/Documents and Settings/gp09/바탕 화면/고니/homepage/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
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];}}
}
//-->
</script>
</head> <body> <!-- 퀵메뉴시작-->
<div id="floater" style="Z-INDEX: 1; LEFT: 1002px; TOP: 253px; POSITION: absolute; visibility: visible;"><img src="images/aa_20.jpg" width="104" height="244" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="25,32,110,61" href="ctr3.html">
<area shape="rect" coords="23,71,108,101" href="http://demo.zousoft.com">
<area shape="rect" coords="9,128,95,166" href="http://cafe.naver.com/zioyou">
</map></div> <SCRIPT language=javascript>
<!--
function GoTop() {
window.scrollTo(0,0);
} function GoTop_Call() {
document.body.ondblclick = Top;
}
var Xpos = 0;
var Ypos = 1;
var Ygravity = 0.8;
var scrollPos = 1;
var oldScrollPos = 1;
function FloatMenu() {
docWidth = document.body.clientWidth; // Update document width
docHeight = document.body.clientHeight; // Update document height
oldScrollPos = scrollPos;
scrollPos = document.body.scrollTop; // Update scrollbar position //alert(docWidth);
//return false;
//Xpos = 910; Xpos = (docWidth - 910)/2 + 300;
if (Xpos >= 910)
{Xpos= Xpos;}
else
{Xpos = 910;}
//Xpos = (docWidth - floater.offsetWidth) - 10; //오른쪽 여백 배너가 오른쪽에 붙을경우
//Xpos = (docWidth / 2) + 410; // 중앙정렬일경우. " + 410 은 테이블 크기 / 2 "
//Yboundary = ((scrollPos + docHeight) - floater.offsetHeight) - 15; //하단여백
Yboundary = ((scrollPos + docHeight) - floater.offsetHeight) - 100; //하단여백 if (floater.offsetTop < Yboundary - 1) // Object is behind boundary
Ypos += 2; if (floater.offsetTop > Yboundary + 3) // Object is past boundary
Ypos -= 3; Ypos *= Ygravity; // Slow object down floater.style.pixelLeft = Xpos;
floater.style.pixelTop += Ypos; // Make object bounce
} window.setInterval("FloatMenu()", 1); //매개변수중 뒷쪽 숫자는 내려오는 속도 -->
</SCRIPT>
<!-- 퀵메뉴끝-->
<table width="981" height="947" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="981"><table width="100%" height="178" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="37" rowspan="4"><p> </p> </td>
<td width="795" height="65"><img src="images/index_02.jpg" width="791" height="65" border="0" usemap="#Map4" /> </td>
<td width="418" rowspan="4"> </td>
</tr>
<tr>
<td><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="793" height="244">
<param name="movie" value="home/home1.swf" />
<param name="quality" value="high" />
<embed src="home/home1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="793" height="244"></embed>
</object>
<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="793" height="267">
<param name="movie" value="home/home3.swf" />
<param name="quality" value="high" />
<embed src="home/home3.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="793" height="267"></embed>
</object></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td width="795" height="20"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td>
<td width="627"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="105"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="103" background="file:///C|/Documents and Settings/gp09/바탕 화면/고니/homepage/images/index_07.jpg"><table width="100%" height="33" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#A9D7FB"><iframe src="http://wneod0324.cafe24.com/xe/main" name="ifrm" width="205" height="103 marginwidth="0" marginheight="0" frameborder="no" scrolling="no"></iframe
></td>
<td width="6"> </td>
<td bgcolor="#B0DBFD"><iframe src="http://wneod0324.cafe24.com/xe/main2" name="ifrm" width="205" height="103 marginwidth="0" marginheight="0" frameborder="no" scrolling="no"></iframe></td>
<td width="6"> </td>
<td><img src="images/index_09_1.jpg" width="205" height="103" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td width="659" height="6"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="204" height="56"><img src="images/index_13.jpg" width="205" height="125" border="0" usemap="#Map" /></td>
<td width="6"> </td>
<td width="201"><img src="images/index_15.jpg" width="204" height="125" border="0" usemap="#Map2" /></td>
<td width="6"> </td>
<td width="203"><img src="images/index_17.jpg" width="205" height="125" border="0" usemap="#Map3" /></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="5"></td>
<td width="160" ><img src="images/index_11.jpg" width="164" height="242" /></td>
<td width="168"> </td>
</tr>
</table>
<table width="980" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td width="20"> </td>
<td width="793" align="left"><img src="images/index_19.jpg" width="791" height="77" /></td>
<td width="167" bgcolor="#9FD3FB"> </td>
</tr>
</table></td>
</tr>
</table> <br />
<br />
<br /> <map name="Map" id="Map"><area shape="rect" coords="1,1,205,124" href="http://demo.zioyoucs.com" />
</map>
<map name="Map2" id="Map2"><area shape="rect" coords="1,1,203,126" href="http://login.zioyoucs.com" />
</map>
<map name="Map3" id="Map3"><area shape="rect" coords="1,1,204,125" href="http://edu.zioyoucs.com" />
</map>
<map name="Map4" id="Map4"><area shape="rect" coords="2,16,163,66" href="#" /></map></body>
</html> 안녕하세요. 일단 제가 드림위버로 메인작업을 했습니다. 여러차례 질문을 올렸으나 명쾌한 답을 찾지못하여 다시 올립니다. 현재 중간부분에 iframe으로 최근게시물을 올렸습니다. 그런데... 그 게시물을 클릭하면 새창으로 해당 게시물이 열려야하는데요.. 계속 iframe 안에서만 열리기때문에 보기도 안좋고 제가 의도한 바가 아닙니다. ㅠ 고수님들 제발 저좀 한번 도와주세요 ㅠㅠ
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <title>시작 페이지로 지정하기</title>
<META http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
<!--
function start() {
startpage.style.behavior='url(#default#homepage)undefined;
startpage.setHomePage('http://a931004.zoa.to/');
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-image: url(images/index_01.jpg)undefined;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
#apDiv1 {
position:absolute;
left:469px;
top:51px;
width:340px;
height:30px;
z-index:1;
}
#apDiv2 {
position:absolute;
left:565px;
top:0px;
width:16px;
height:1px;
z-index:7;
}
#apDiv3 {
position:absolute;
left:609px;
top:0px;
width:201px;
height:16px;
z-index:7;
}
#apDiv4 {
position:absolute;
left:610px;
top:0px;
width:242px;
height:16px;
z-index:7;
}
-->
</style>
<script src="file:///C|/Documents and Settings/gp09/바탕 화면/고니/homepage/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
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];}}
}
//-->
</script>
</head> <body> <!-- 퀵메뉴시작-->
<div id="floater" style="Z-INDEX: 1; LEFT: 1002px; TOP: 253px; POSITION: absolute; visibility: visible;"><img src="images/aa_20.jpg" width="104" height="244" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="25,32,110,61" href="ctr3.html">
<area shape="rect" coords="23,71,108,101" href="http://demo.zousoft.com">
<area shape="rect" coords="9,128,95,166" href="http://cafe.naver.com/zioyou">
</map></div> <SCRIPT language=javascript>
<!--
function GoTop() {
window.scrollTo(0,0);
} function GoTop_Call() {
document.body.ondblclick = Top;
}
var Xpos = 0;
var Ypos = 1;
var Ygravity = 0.8;
var scrollPos = 1;
var oldScrollPos = 1;
function FloatMenu() {
docWidth = document.body.clientWidth; // Update document width
docHeight = document.body.clientHeight; // Update document height
oldScrollPos = scrollPos;
scrollPos = document.body.scrollTop; // Update scrollbar position //alert(docWidth);
//return false;
//Xpos = 910; Xpos = (docWidth - 910)/2 + 300;
if (Xpos >= 910)
{Xpos= Xpos;}
else
{Xpos = 910;}
//Xpos = (docWidth - floater.offsetWidth) - 10; //오른쪽 여백 배너가 오른쪽에 붙을경우
//Xpos = (docWidth / 2) + 410; // 중앙정렬일경우. " + 410 은 테이블 크기 / 2 "
//Yboundary = ((scrollPos + docHeight) - floater.offsetHeight) - 15; //하단여백
Yboundary = ((scrollPos + docHeight) - floater.offsetHeight) - 100; //하단여백 if (floater.offsetTop < Yboundary - 1) // Object is behind boundary
Ypos += 2; if (floater.offsetTop > Yboundary + 3) // Object is past boundary
Ypos -= 3; Ypos *= Ygravity; // Slow object down floater.style.pixelLeft = Xpos;
floater.style.pixelTop += Ypos; // Make object bounce
} window.setInterval("FloatMenu()", 1); //매개변수중 뒷쪽 숫자는 내려오는 속도 -->
</SCRIPT>
<!-- 퀵메뉴끝-->
<table width="981" height="947" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="981"><table width="100%" height="178" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="37" rowspan="4"><p> </p> </td>
<td width="795" height="65"><img src="images/index_02.jpg" width="791" height="65" border="0" usemap="#Map4" /> </td>
<td width="418" rowspan="4"> </td>
</tr>
<tr>
<td><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="793" height="244">
<param name="movie" value="home/home1.swf" />
<param name="quality" value="high" />
<embed src="home/home1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="793" height="244"></embed>
</object>
<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="793" height="267">
<param name="movie" value="home/home3.swf" />
<param name="quality" value="high" />
<embed src="home/home3.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="793" height="267"></embed>
</object></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td width="795" height="20"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td>
<td width="627"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="105"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="103" background="file:///C|/Documents and Settings/gp09/바탕 화면/고니/homepage/images/index_07.jpg"><table width="100%" height="33" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#A9D7FB"><iframe src="http://wneod0324.cafe24.com/xe/main" name="ifrm" width="205" height="103 marginwidth="0" marginheight="0" frameborder="no" scrolling="no"></iframe
></td>
<td width="6"> </td>
<td bgcolor="#B0DBFD"><iframe src="http://wneod0324.cafe24.com/xe/main2" name="ifrm" width="205" height="103 marginwidth="0" marginheight="0" frameborder="no" scrolling="no"></iframe></td>
<td width="6"> </td>
<td><img src="images/index_09_1.jpg" width="205" height="103" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td width="659" height="6"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="204" height="56"><img src="images/index_13.jpg" width="205" height="125" border="0" usemap="#Map" /></td>
<td width="6"> </td>
<td width="201"><img src="images/index_15.jpg" width="204" height="125" border="0" usemap="#Map2" /></td>
<td width="6"> </td>
<td width="203"><img src="images/index_17.jpg" width="205" height="125" border="0" usemap="#Map3" /></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="5"></td>
<td width="160" ><img src="images/index_11.jpg" width="164" height="242" /></td>
<td width="168"> </td>
</tr>
</table>
<table width="980" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td width="20"> </td>
<td width="793" align="left"><img src="images/index_19.jpg" width="791" height="77" /></td>
<td width="167" bgcolor="#9FD3FB"> </td>
</tr>
</table></td>
</tr>
</table> <br />
<br />
<br /> <map name="Map" id="Map"><area shape="rect" coords="1,1,205,124" href="http://demo.zioyoucs.com" />
</map>
<map name="Map2" id="Map2"><area shape="rect" coords="1,1,203,126" href="http://login.zioyoucs.com" />
</map>
<map name="Map3" id="Map3"><area shape="rect" coords="1,1,204,125" href="http://edu.zioyoucs.com" />
</map>
<map name="Map4" id="Map4"><area shape="rect" coords="2,16,163,66" href="#" /></map></body>
</html> 안녕하세요. 일단 제가 드림위버로 메인작업을 했습니다. 여러차례 질문을 올렸으나 명쾌한 답을 찾지못하여 다시 올립니다. 현재 중간부분에 iframe으로 최근게시물을 올렸습니다. 그런데... 그 게시물을 클릭하면 새창으로 해당 게시물이 열려야하는데요.. 계속 iframe 안에서만 열리기때문에 보기도 안좋고 제가 의도한 바가 아닙니다. ㅠ 고수님들 제발 저좀 한번 도와주세요 ㅠㅠ
댓글 1
-
오르막
2010.09.14 15:05
main1, main2에 사용한 위젯 스킨에서 target="_blank" 를 주시면 됩니다. 어떤 위젯을 사용하는지 몰라 구체적인 답변을 드리지 못하지만 스킨에서 <a href="{getUrl(','document_srl',$v->document_srl)}" target="_blank">처럼 사용하시면 될것입니다.