묻고답하기
메인페이지 레이아웃의 빈칸을 어떻게 없앨 수 있나요ㅠㅜ(XE왕초보)
2009.12.17 01:16
아래 그림의 빨간색 부분을 없애고 싶은데 어떻게 할 수 있을까요?
다른 곳에는 그런대로 게시판 제목이 있어서 좋은데 메인페이지에서는 어색해서 지우고 싶은데요ㅠㅜ
고수님들의 조언을 부탁드립니다.
첫페이지의 문서
<!--%import("css/default.css")-->
<div id="layoutBody">
<div id="headerWhole" <headerWholeBg)-->style="border-bottom:4px'>!--@if($layout_info->headerWholeBg)-->style="border-bottom:4px solid #014D7E; background:url(http://www.xpressengine.com/{$layout_info->headerWholeBg})undefined<!--@end-->>
<div id="header" onmouseover="hiddenSecondMenu()" <headerBg)-->style="background:url(http://www.xpressengine.com/{$layout_info->headerBg})undefined"class="on2">!--@if($val['selected'])-->class="on2"<!--@end-->><a href="./{$val["href']}" onmouseover="showSecondMenu({$firstMenuCount})" <onclick="window.open(this.href);return">!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>{$val['link']}>
{@ $firstMenuCount++}
<!--@endif--><!--@endforeach-->
</ul>
<img style="float:left;" src="./images/top_menu_bg_right.gif" />
</div>
<!--상단 2차메뉴-->
<div id="headerSecondMenu" >
{@ $secondMenuCount=1}
<!--@foreach($main_menu->list as $key => $val)--><!--@if($val['link'])-->
{@ $menu_1st = $val }
<ol <style="border-bottom:1px">!--@if($menu_1st['list'])-->style="border-bottom:1px solid #000000; border-right:1px solid #000000;"<!--@end--> id="headerSecondMenuOl{$secondMenuCount}">
<!--@foreach($menu_1st['list'] as $key => $val)-->
<li <class="on">!--@if($val['selected'])-->class="on"<!--@end-->><a href="./{$val["href']}" <onclick="window.open(this.href);return">!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>{$val['link']}>
<class="on">{$val['link']}!--@if($val['selected'])-->class=" a li< on?<!--@end-->>{$val[?link?]}<>>
<!--@end-->
<!--@endif--><!--@endforeach-->
</ul>
<ol id="contentLeftSecondMenuOl">
<!--@foreach($menu_1st_3['list'] as $key => $val)--><!--@if($val['link'])-->
<li <class="on">!--@if($val['selected'])-->class="on"<!--@end-->><a href="./{$val["href']}" <onclick="window.open(this.href);return">!--@if($val['open_window']=='Y')-->onclick="window.open(this.href);return false;"<!--@end-->>○ {$val['link']}</a></li>
<!--@endif--><!--@endforeach-->
</ol>
<!--@if($layout_info->contentLeftBottom)-->
<div id="contentLeftBottom">
{$layout_info->contentLeftBottom}
</div>
<!--@end-->
</div>
</div>
<div id="footer">
<!--@if($layout_info->footerLogo)-->
<div id="footerLogo">
<a style="width:127px; height:58px; display:block;" href="./{$layout_info->homepage_url}"><img src="./{$layout_info->footerLogo}" width="127" height="58" /></a>
</div>
<!--@end-->
<!--@if($layout_info->footerCopyright)-->
<div id="footerCopyright">
{$layout_info->footerCopyright}
</div>
<!--@end-->
<!--@if($layout_info->footerRightImage)-->
<div id="footerRightImage">
<a style="width:154px; height:35px; display:block;" href="./{$layout_info->footerRightImageUrl}" target="footerRightImage"><img src="./{$layout_info->footerRightImage}" width="154" height="35" /></a>
</div>
<!--@end-->
<!--@if($layout_info->footerBottom)-->
<div id="footerBottom">
{$layout_info->footerBottom}
</div>
<!--@end-->
</div>
</div>
<script>
//상단 1차메뉴 마지막 리스트 마디 및 여백 없애는 스크립트
<!--@if($main_menu->list)-->
firstMenuLength=headerFirstMenuUl.children.length;
headerFirstMenuUl.children[firstMenuLength-1].style.paddingRight=0;
headerFirstMenuUl.children[firstMenuLength-1].style.marginRight=0;
headerFirstMenuUl.children[firstMenuLength-1].style.background="none";
<!--@end-->
//상단 1차메뉴 마우스오버 시 2차메뉴 슬라이드 함수
function secondMenuSlide(){
if(headerSecondMenu.offsetHeight<secondMenuHeight){
headerSecondMenu.style.height=heightNum;
heightNum=heightNum+7;
setTimeout("secondMenuSlide()",10);
}
else{
headerSecondMenu.style.height=secondMenuHeight;
}
}
//상단 1차메뉴 마우스오버 시 2차메뉴 위치조정하고 나타나게 하는 함수
function showSecondMenu(n){
<!--@if($main_menu->list)-->
heightNum=0;
headerSecondMenu.style.height=0;
headerSecondMenuLeft=0;
//상단 2차메뉴 위치조정
for(i=1;i<=n;i++){
headerSecondMenuLeft=headerSecondMenuLeft+headerFirstMenuUl.children[i-1].offsetWidth;
}
headerSecondMenu.style.left=headerSecondMenuLeft+74;
//선택된 상단 1차메뉴의 2차메뉴만 나타나게 하는 부분
for(i=1;i<=firstMenuLength;i++){
headerFirstMenuUl.children[i-1].className="off";
document.getElementById('headerSecondMenuOl'+i).style.display="none";
}
headerFirstMenuUl.children[n-1].className="on";
document.getElementById('headerSecondMenuOl'+n).style.display="block";
secondMenuHeight=document.getElementById('headerSecondMenuOl'+n).offsetHeight;
secondMenuSlide();
<!--@end-->
}
//상단 2차메뉴 사라지게 하는 함수
function hiddenSecondMenu(){
<!--@if($main_menu->list)-->
for(i=1;i<=firstMenuLength;i++){
headerFirstMenuUl.children[i-1].className="off";
document.getElementById('headerSecondMenuOl'+i).style.display="none";
}
<!--@end-->
}
//상단 우측 로그인정보 클릭 시 나타나는 로그인폼
loginNum=0;
function showLoginForm(){
if(loginNum==0){
headerTopRightLoginWiget.style.display="block";
loginNum=1;
}
else{
headerTopRightLoginWiget.style.display="none";
loginNum=0;
}
}
</script>