묻고답하기

레이아웃 검색창 선택버튼 누를때 CSS의 적용칼라가  마우스의 이동에 따라 변색하는 기능에서 버그 수정을 해보았습니다.많은 xe의  레이아웃 제작자들의 사이트에 에러가 있은것으로 보였으므로 제가 선배들의 도움으로 수정을 했어요.


검색창 선택버튼 버그 있는 레이아웃 수정 하실분은 아래 코드를 이용하여 참조로 수정하시면 됩니다.짐작하건대 혹시라도 제가 수정이 오류가 있으면 많은 삼가 가르침을 바랍니다.

만약 친구분들께 도움이 되신다면 저에겐 영광이 될것이고 더욱더 노력의 힘으로  될것입니다.
09년 행복하시고 항상 건강하시길 , 새해에 복 많이 받으세요.

수정후의 사이트 미리 보기: http://www.kimym.net/


아래는 수정 방법을 참고하여 수정후 사용하세요.

css 부분:

/* Site Layout - Search
---------------------------------------------------------------------------------*/
#isSearch {position:absolute;top:102px;right:20px;width:190px;text-align:right;}
#isSearch .searchOrder { display:none;}
#isSearch .checked {position:absolute;left:-48px;top:18px;text-align:left;display:block;padding:4px 0px 0px 7px;width:85px;height:16px;background:url
(../images/default/bgSearchTerm.gif) no-repeat; font:11px  "돋움", Dotum, "굴림", Gulim, AppleGothic, Sans-serif;  color:#5c5c5c;line-height:normal;}
*:first-child+html #isSearch .checked { top:1px; }
#isSearch ul { display:none; position:absolute; left:-48px; top:19px; padding:2px 0 3px 0; text-align:left; border:1px solid #b2b2b2; background:#ffffff;}
#isSearch ul li { width:83px; height:16px; list-style:none; }
#isSearch ul li input { display:none;}
#isSearch ul li label { display:block; padding:4px 0 0 4px; width:79px; height:15px; font:11px  "돋움", Dotum, "굴림", Gulim, AppleGothic, Sans-serif; 
color:#000000;}
#isSearch ul li label.on { background:#CCCCCC; }
#isSearch ul li label:hover,
#isSearch ul li label:focus { background:#CCCCCC;}
#isSearch .inputText { vertical-align:middle; position:relative; top:0; _top:-1px; left:1px; padding:3px 3px 1px 3px; width:95px; height:13px; 
color:#000000; border:1px solid #B0B0AF; background-color:#ffffff; }
#isSearch .inputText:hover { background:#ededed; }
#isSearch .inputText:focus { border:1px solid #8E8E8D; background-color:#ededed; }
*:first-child+html body#default #isSearch .inputText { position:relative; top:-1px;}
#isSearch .submit { vertical-align:middle; _position:relative; _top:-1px;}
*:first-child+html body#default #isSearch .submit { position:relative; top:-1px;}



layout.html 수정부분:

<!-- Site Layout - Search -->
            <form action="{getUrl()}" method="post" id="isSearch">
            <input type="hidden" name="mid" value="{$mid}" />
            <input type="hidden" name="act" value="IS" />
   <input name="search_target" type="radio" value="title_content" id="search_target" class="searchOrder" checked="checked" 
title="search option" />
   <label for="search_target" class="checked" id="search_target_label" onclick="showHide('selectOrder'); return false" 
onmouseover="this.className='checked'" >{$lang->title}</label>
   <ul id="selectOrder">
    <li>
     <input type="radio" name="search_target" value="title" id="search_target1" />
     <label for="search_target1" onclick="chkIsKind(1, '{$lang->title}'); return false;" 
onmouseover="this.className='on'" onmouseout="this.className='off'">{$lang->title}</label>
    </li>
    <li>
     <input type="radio" name="search_target" value="content" id="search_target2" />
     <label for="search_target2" onclick="chkIsKind(2, '{$lang->content}'); return false;" 
onmouseover="this.className='on'" onmouseout="this.className='off'">{$lang->content}</label>
    </li>
    <li>
     <input type="radio" name="search_target" value="title_content" id="search_target3" />
     <label for="search_target3" onclick="chkIsKind(3, '{$lang->title}+{$lang->content}'); return false;" 
onmouseover="this.className='on'" onmouseout="this.className='off'">{$lang->title}+{$lang->content}</label>
    </li>
    <li>
     <input type="radio" name="search_target" value="comment" id="search_target4" />
     <label for="search_target4" onclick="chkIsKind(4, '{$lang->comment}'); return false;" 
onmouseover="this.className='on'" onmouseout="this.className='off'">{$lang->comment}</label>
    </li>
    <li>
     <input type="radio" name="search_target" value="tag" id="search_target5" />
     <label for="search_target5" onclick="chkIsKind(5, '{$lang->tag}'); return false;" 
onmouseover="this.className='on'" onmouseout="this.className='off'">{$lang->tag}</label>
    </li>
   </ul>
   <input name="is_keyword" type="text" class="inputText" title="输入站内搜索关键词" />
   <input type="image" src="./images/{$layout_info->colorset}/buttonSearch.gif" alt="{$lang->cmd_search}" class="submit" />
   </form> 
<!-- Site Layout - Search -->


 

태그 연관 글
  1. [2011/02/15] 묻고답하기 관리자만 검색창이 보이게 하고 싶습니다 by 수아아빠™ *1
  2. [2010/08/20] 묻고답하기 홈페이지에 검색창을 달고 싶습니다. by 댕2
  3. [2008/12/21] 묻고답하기 제로보드 xe홈페이지에 검색창 달기 by 관리자모드 *5
  4. [2008/12/19] 묻고답하기 검색창 기본을 제목+게시글로 지정하고 크기 줄이는 법 by Jiyoung540 *2
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
도와주세요 홈페이지를 만들었는데요; [1] 2009.01.04 by BlueGATE
서리~ [질문] 블로그에서 게시물 분류 목록 표시할때.. [2] 2009.01.04 by 서리~
csbyonsei 1.1.3제로보드인데 첨부파일이 안됩니다. [3] 2009.01.04 by 똥강아지
쿨킴 검색창 선택버튼 변색하는 기능 수정에 대하여 file  
SM3 댓글에 비밀글 등록한것 - 폼이 엉성합니다. [3] 2009.01.04 by SM3
재간 뭐가 뭔지 ㅠ 잘 모르겠는데요. [1] 2009.01.04 by 백성찬
매력고양이심바♡ 제로보드4 게시판 질문입니다. [1] 2009.01.04 by 백성찬
서리~ [긴급] 최근 글 목록 변경 방법 질문??? [1] 2009.01.04 by 경천애인
welcomeju cloud 최근 이미지가 안 먹혀요. [3] 2009.01.04 by 백성찬
반야545 업그레이두 후글씨가 조막만하게 나올경우 [1] 2009.01.04 by 백성찬
꼬맹이html 어떻게해요?? [7] 2009.01.04 by 백성찬
Qwiff 특정회원 목록이 한줄로만 나옵니다 [2] 2009.01.05 by Qwiff
Kelvin 메뉴얼이랑 이미지가 달라요 & 댓글관련 [2] 2009.01.05 by Habile
정낙훈(xynex) 비회원 접속시 관리자가 설정한 로그인 페이지로 이동하게끔 [2] 2009.01.05 by Habile
플래닛sms 플래닛 SMS... 어디에 보내는거죠?  
인끈 한글과 영문폰트를 각각 달리하는 방법이 있는지요.  
레스705 제로보드의 페이지는 실제 존재하나요? [2] 2009.01.05 by 레스705
잠자는공주 질문입니다 [1] 2009.01.05 by 백성찬
아이언가면 글쓰고 읽는 부분을 흰색 처리 하고 싶습니다. [2] 2009.01.05 by 아이언가면
아이언가면 제로보드XE 기본스킨(청록색)에서 글쓴이 부분을 가운데 정렬하고 싶습니다. [3] 2009.01.05 by 아이언가면
아소 제로보드에선 항상 재로그인이 안되요  
MazeHz 이미지 엑박 [3] file 2009.01.05 by MazeHz
서피현 메뉴 NEW 표시하기 file  
Sunny_love 백지 현상---->제 잘못인지요.. [2] 2009.01.05 by Sunny_love
최대리 블로그프로필swf파일로올리는방법  
겨례사랑 블로그에서 프로필 바꿀수 있지않나요?? [3] file 2009.01.05 by 지연아빠
장뚱이 레이아웃에서 기본 모듈 지정하는 법 좀 알려주세요.^^* [10] file 2009.01.05 by 지연아빠
edgarkim 제로보드에 플래쉬 메뉴 붙이기.... [1] 2009.01.05 by 김정만803
iLunatic 분류기능 사용시에 비공개글 [2] 2009.01.05 by iLunatic
철쌤 1.1.3에서 홈페이지 패키지에서 레이아웃 변경이 안되네요. [4] 2009.01.05 by 루비믹스