묻고답하기

레이아웃 검색창 선택버튼 누를때 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 남기남
안건호 제로보드 메뉴 이미지와 ui픽셀이동에 대하여 질문입니다. [1] 2011.09.09 by 송동우
지휴 게시판 DB 이동시키기 [1] 2011.09.08 by 송동우
Poltus 해당 게시판의 전체 글 수.. [3] 2011.09.08 by 송동우
홈페이지123 레이아웃 적용방법좀 ㅠ [2] 2011.09.08 by 송동우
leenlee 저와 같은 현상을 겪으신분 없나요 제발~도움을... [1] 2011.09.08 by Poltus
쿵푸팬더 송동우님 한번만 봐주세요! [2] 2011.09.08 by 송동우
제이박 XE Engine의 공식 홈페이지의 Layout은 어던 건가요? [1] 2011.09.08 by smartset
leenlee 시간이 틀리게 표시됩니다...도움주세요... [2] 2011.09.08 by leenlee
Tyou 익명게시판을 쓰려고 하는데요  
소르 최근갤러리 적용시 검정선...  
점돌님 APMsetup 폴더 압축하려고 하는데요  
청순걸 모바일 레이아웃 스킨을 설치하려고 하는데 이런 오류 창이 떠요.  
고지명 왕초보 질문  
최태진814 간단한 질문 [1] 2011.09.08 by 송동우
모르겠어요 게시물을 클릭하면 게시물제목이 로고위에서 떠요;; [1] 2011.09.08 by 송동우
고독의요새 서버 이전후 메뉴나 게시판 분류의 추가나 수정이 되지 않습니다. [2] 2011.09.08 by 송동우
모르겠어요 게시물 용량제한 [1] 2011.09.08 by 송동우
말사랑 왜 관리자 초기 페이지 안 나와요?  
cocobulls 호스팅업체에서 자기네맘대로 db 패스워드를 [1] 2011.09.08 by 송동우
Tyou 글쓰면 권한이 없다고 나와요.  
우헬헬헬 xe 인스톨 한글ver 이 안되는이유..  
Hodoll HTML 편집기 버그 있는거 같은데요? [2] 2011.09.08 by Hodoll
Hodoll SELinux 설정 문제...  
장용실 도와 주세요..도저히 방법이 없습니다. [1] 2011.09.08 by 송동우
jeni660 . [1] 2011.09.08 by 바람의매
수, 서 안녕하세요. 인코닝요  
초급이 background-image의 길이 [1] 2011.09.07 by Poltus
쉬렉 메뉴나 게시판 분류생성이 안됩니다 [1] 2011.09.07 by Poltus
reco00 XE기반의 사이트를 리뉴얼하는데 질문드립니다. [1] 2011.09.07 by Poltus
수펊랭컬 외부페이지에서의 세션 변수 [3] 2011.09.08 by 수펊랭컬