묻고답하기
메인페이지 레이아웃의 빈칸을 어떻게 없앨 수 있나요ㅠㅜ(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>
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
Es967 | 에러코드 관련 | |
gina70 | 회원가입시나 수정시 닉네임/ID /E-mail 은 중복체크를 하자나요 . 이름도 가능할까요? [5] | 2011.02.23 by Gary189 |
킴윤 | JQuery 에러 아시는분 없으신가요? [1] | 2009.12.23 by plruto |
멀티히터 | 이미지 저장 못하게 하기 [2] | 2009.12.23 by 파파민 |
가미가미가미 | 스킨만 적용하면 화면이 하얗게 바껴요. | |
ttols | 게시판 이미지파일 첨부시 탭최근글 오류 | |
和秀 |
메뉴경로는 정상인것 같은데 클릭하면 오류가 뜹니다.
![]() | |
물비늘 |
403에러가 많이 납니다.
![]() | |
백고무 |
document 글들이 다 증발 해버렸습니다-_-;;;;;;;;
![]() | |
용인물치 | 관리자 로그인이 안됩니다 | |
monozoom |
무슨 에러인지 좀 봐주세요~
[2]
![]() | 2009.12.23 by monozoom |
전성만321 | 게시판 형태를 블로그로 바꾸면 게시글이 안나오네요. [1] | 2009.12.23 by plruto |
데미나인 | xe에서 기본적으로 jquery를 로드 하나요? [1] | 2009.12.23 by 데미나인 |
점아저씨 | FTP over SSL 만지원하는 계정에서는 쉬운설치 FTP를 이용할 수 없나요? [1] | 2009.12.23 by 하늘03 |
개발. | 일정시간이 지나면 자동로그아웃되게 할 수 없나요..? | |
dusskapark | 클릭하면 팝업으로 띄우기 [1] | 2009.12.23 by 윤지아빠 |
sbshs77 | SSH 설정문제 생겨서 로그인을 못하는데요 [1] | 2009.12.23 by 백성찬 |
......욤 |
설문조사를 어떻게 등록하나요?
[2]
![]() | 2009.12.23 by ......욤 |
초보에요^^* | 로그인이 되질 않습니다. [1] | 2009.12.23 by 김남철574 |
komzi | xe설치하고나서 관리자페이지 접속이안됩니다. [1] | 2009.12.23 by 김남철574 |