묻고답하기
레이어 고정이 안되네요..그냥 미리보기로는 제대로 되있는데 왜 레이아웃 적용만 하면 안될까요
2009.07.15 20:28
레이어 고정이 안되네요..그냥 미리보기로는 제대로 되있는데 왜 레이아웃 적용만 하면 안될까요?
홈페이지는 http://chiko.kr/xe/입니다..
<!--%import("./css/css.css")-->
<!--%import("js/xe_chiko.js")-->
<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];}}
}
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="http://www.xpressengine.com/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="http://www.xpressengine.com/x.src; x.src=a[i+2];}
}
//-->
</script>
<style type="text/css">
<!--
#apDiv1 {
position:absolute;
left:410px;
top:49px;
width:68px;
height:25px;
z-index:1;
visibility: hidden;
}
#apDiv2 {
position:absolute;
left:575px;
top:49px;
width:92px;
height:23px;
z-index:2;
visibility: hidden;
}
#apDiv3 {
position:absolute;
left:687px;
top:49px;
width:87px;
height:22px;
z-index:3;
visibility: hidden;
}
#apDiv4 {
position:absolute;
left:791px;
top:49px;
width:77px;
height:22px;
z-index:4;
visibility: hidden;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<script type="text/javascript">
<!--
function MM_showHideLayers() { //v9.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3)
with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/rollover1_01.jpg','images/rollover1_03.jpg','images/rollover1_05.jpg','images/rollover1_07.jpg','images/rollover1_09.gif','/images/rollover1_01.jpg');">
<table width="880" border="0" cellpadding="0" cellspacing="0" id="__01">
<tr>
<td width="212" rowspan="2"><img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/layout_01.jpg" width="212" height="71" border="0" usemap="#Map5"></td>
<td width="142"><img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/layout_02.jpg" width="142" height="35" alt=""></td>
<td width="60"><img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko//images/layout_03.jpg" alt="" name="product1" width="60" height="35" id="product1" onMouseOver="MM_swapImage('product1','','http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/rollover1_01.jpg',1);MM_showHideLayers('apDiv1','','show')" onMouseOut="MM_swapImgRestore();MM_showHideLayers('apDiv1','','hide')">
</td>
<td width="44">
<img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/layout_04.jpg" width="44" height="35" alt=""></td>
<td width="51"><a href="./http://mu4.nayana.kr/~ybsim/xe/?mid=shop" target="_blank"><img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/layout_05.jpg" alt="" name="shop1" width="51" height="35" border="0" id="shop1" onMouseOver="MM_swapImage('shop1','','http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/rollover1_03.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td width="40">
<img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/layout_06.jpg" width="40" height="35" alt=""></td>
<td width="72"><img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/layout_07.jpg" alt="" name="clinic1" width="72" height="35" id="clinic1" onMouseOver="MM_swapImage('clinic1','','http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/rollover1_05.jpg',1);MM_showHideLayers('apDiv2','','show')" onMouseOut="MM_swapImgRestore();MM_showHideLayers('apDiv2','','hide')"></td>
<td width="34">
<img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/layout_08.jpg" width="34" height="35" alt=""></td>
<td width="62">
<img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/layout_09.jpg" alt="" name="support1" width="62" height="35" id="support1" onMouseOver="MM_swapImage('support1','','http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/rollover1_07.jpg',1);MM_showHideLayers('apDiv3','','show')" onMouseOut="MM_swapImgRestore();MM_showHideLayers('apDiv3','','hide')"></td>
<td width="38">
<img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/layout_10.jpg" width="38" height="35" alt=""></td>
<td width="63"><img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/layout_11.gif" alt="" name="intro1" width="63" height="35" id="intro1" onMouseOver="MM_swapImage('intro1','','http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/rollover1_09.gif',1);MM_showHideLayers('apDiv4','+
'+
'','show')" onMouseOut="MM_swapImgRestore();MM_showHideLayers('apDiv4','','hide')"></td>
<td width="132">
<img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/layout_12.jpg" width="62" height="35" alt=""></td>
</tr>
<tr>
<td></td>
<td><div style="position:relative; left:0; top:-18; visibility:hidden;" onMouseOver="MM_showHideLayers('apDiv1','','show')" onMouseOut="MM_showHideLayers('apDiv1','','hide')">
<div id="apDiv1" style='position:absolute;top:0;left:0; onMouseOver="MM_showHideLayers('apDiv1','','show')" onMouseOut="MM_showHideLayers('apDiv1','','hide')"><img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/rollover_01.gif" width="100" height="29" border="0" usemap="#Map">
<map name="Map">
<area shape="rect" coords="4,6,90,23" href="./http://mu4.nayana.kr/~ybsim/?mid=products">
</map>
</div>
</div></td>
<td></td>
<td><div style="position:relative; left:0; top:-3; visibility:hidden;">
<div id="apDiv5" style='position:absolute; left:0; top:0; z-index:1; onMouseOver="MM_showHideLayers('apDiv5','','show')" onMouseOut="MM_showHideLayers('apDiv5','','hide')">
</div>
</div></td>
<td></td>
<td><div style="position:relative; left:-51; top:-18; visibility:hidden;" onMouseOver="MM_showHideLayers('apDiv2','','show')" onMouseOut="MM_showHideLayers('apDiv2','','hide')">
<div id="apDiv2" style='position:absolute;top:0;left:0; onMouseOver="MM_showHideLayers('apDiv2','','show')" onMouseOut="MM_showHideLayers('apDiv2','','hide')"><img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/rollover_02.gif" width="174" height="29" border="0" usemap="#Map2">
<map name="Map2">
<area shape="rect" coords="11,6,79,24" href="./http://mu4.nayana.kr/~ybsim/xe/?mid=info">
<area shape="rect" coords="94,6,163,24" href="./http://mu4.nayana.kr/~ybsim/xe/?mid=news">
</map>
</div></div></td>
<td></td>
<td><div style="position:relative; left:-47; top:-18; visibility:hidden;" onMouseOver="MM_showHideLayers('apDiv3','','show')" onMouseOut="MM_showHideLayers('apDiv3','','hide')">
<div id="apDiv3" style='position:absolute;top:0;left:0; onMouseOver="MM_showHideLayers('apDiv3','','show')" onMouseOut="MM_showHideLayers('apDiv3','','hide'+
')"><img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/rollover_03.gif" width="179" height="29" border="0" usemap="#Map3">
<map name="Map3">
<area shape="rect" coords="13,6,71,24" href="./http://mu4.nayana.kr/~ybsim/xe/?mid=ask">
<area shape="rect" coords="84,6,166,24" href="./http://mu4.nayana.kr/~ybsim/xe/?mid=qna">
</map>
</div></div></td>
<td></td>
<td><div style="position:relative; left:-41; top:-18; visibility:hidden;" onMouseOver="MM_showHideLayers('apDiv4','','show')" onMouseOut="MM_showHideLayers('apDiv4','','hide')"><div id="apDiv4" style='position:absolute;top:0;left:0; onMouseOver="MM_showHideLayers(' onMouseOver="MM_showHideLayers('apDiv4','','show')"')" onMouseOut="MM_showHideLayers('apDiv4','','hide')"apDiv4','','show><img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/rollover_04.gif" width="119" height="29" border="0" usemap="#Map4">
<map name="Map4">
<area shape="rect" coords="9,7,66,22" href="./http://mu4.nayana.kr/~ybsim/xe/?mid=intro">
<area shape="rect" coords="79,7,110,23" href="./http://mu4.nayana.kr/~ybsim/xe/?mid=project">
</map>
</div></div></td>
<td></td>
</tr>
<tr>
<td height="2" colspan="12" bgcolor="#e6e6e6"></td>
</tr>
<tr>
<td colspan="12">{$content}</td>
</tr>
<tr>
<td colspan="12">
<img src="./http://mu4.nayana.kr/~ybsim/xe/layouts/chiko/images/layout_15.jpg" width="880" height="55" alt=""></td>
</tr>
</table>
<map name="Map5">
<area shape="rect" coords="13,8,190,61" href="./http://mu4.nayana.kr/~ybsim/xe/?mid=home">
</map>
이렇게 만들었습니다..
이상하네요 ㅠㅠ
- [2011/08/24] 묻고답하기 말풍선 레이어 팝업