묻고답하기
레이아웃 메뉴 관련 질문입니다.
2008.08.30 03:49
위에 나오는 2단계 세로 메뉴를 1단계 가로 메뉴 밑에 가로로 2단계메뉴를
넣고 싶은데 몇일을 찾아헤매도 도저히 모르겠네요.
어디를 어떻게 변경해야 되나요?
고수님들 답변 부탁드리겠습니다.
---------------------------------------------------------------------------------------------------
<!-- js 파일 import -->
<!--%import("js/xe_simple3.0.js")-->
<!-- 레이아웃과 연동될 css 파일 import -->
<!--@if($layout_info->colorset == "ash")-->
<!--%import("css/ash.css")-->
<!--@elseif($layout_info->colorset == "dual")-->
<!--%import("css/dual.css")-->
<!--@elseif($layout_info->colorset == "white")-->
<!--%import("css/white.css")-->
<!--@elseif($layout_info->colorset == "kraft")-->
<!--%import("css/kraft.css")-->
<!--@elseif($layout_info->colorset == "linen_dot")-->
<!--%import("css/linen_dot.css")-->
<!--@else-->
<!--%import("css/default.css")-->
<!--@end-->
<!--@if($layout_info->background_image)-->
<style type="text/css">
body { background:#FFFFFF url({getUrl()}{$layout_info->background_image}) repeat-x left top; }
</style>
<!--@end-->
<!--@if(!$layout_info->colorset)--> {@$layout_info->colorset = "default"}<!--@end-->
<!--@if(!$layout_info->content_width)-->{@ $layout_info->content_width = 770; }<!--@end-->
<div id="bodyWrap" style="width:{$layout_info->content_width}px;">
<div id="header"style="width:{$layout_info->content_width}px;">
<!--GNB-->
<ul id="gnb">
<!-- main_menu 시작 -->
<!--@foreach($main_menu->list as $key => $val)--><!--@if($val['link'])-->
<!--@if($val['selected'])-->
{@ $menu_1st = $val }
<!--@end-->
<li <!--@if($val['selected'])-->class="on"<!--@end-->><a href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>{$val['link']}</a></li>
<!--@end--><!--@end-->
<!-- main_menu 끝 -->
</ul>
<!--//GNB-->
</div>
<div id="contentBody" style="width:{$layout_info->content_width-15}px;">
<div id="columnCenter" style="width:{$layout_info->content_width-30}px;">
<img src="./images/blank.gif" alt="" class="mask" />
<!-- 컨텐츠 시작 -->
{$content}
</div>
</div>
<div style='position:absolute;top:95px;left:50%;'>
<div id="columnLeft" style='position:relative;top:0;right:{($layout_info->content_width)/2+127}px;'>
<!-- 왼쪽 2차 메뉴 -->
<!--@if($menu_1st)-->
<ol id="lnb">
{@ $idx = 1 }
<!--@foreach($menu_1st['list'] as $key => $val)--><!--@if($val['link'])-->
<li <!--@if($val['selected'+
'])-->class="on"<!--@end-->><a href="{$val['href']}" <!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>{$val['link']}</a>
</li>{@$idx++}<!--@end--><!--@end-->
</ol>
<!--@end-->
</div>
</div>
<ul id="footer">
<li class="first-child">
<address>
<a href="http://www.zeroboard.com/" onclick="window.open(this.href);return false;"><img src="./images/{$layout_info->colorset}/powerdByZeroboard.gif" alt="Powered By ZeroBoard" width="99" height="5"></a></address> | <a href="http://alphalyra.net" target="_blank"><img src="images/{$layout_info->colorset}/designby.gif" alt="ALPHALYRA.NET" width="85" height="5"></a><br><div>{$layout_info->copyright}</div>
</li>
</ul>
</div>