테스트 사이트 - 개발 중인 베타 버전입니다

게시판 하단 검색하기가 깨져서 채택완료

다조아해 8년 전 조회 1,913

 

http://hanwool1.x-y.net/board/bbs/board.php?bo_table=1">http://hanwool1.x-y.net/board/bbs/board.php?bo_table=1

페이지를 만들어서 게시판을 넣었는데 상단 주메뉴 때문에 js가 겹치는 현상으로

위에 이미지처럼 검색대상이 깨지는 현상이 발생하고 있습니다.

홈페이지에서 주메뉴 관련 js인데 이거에 영향을 주는 파일은

http://hanwool1.x-y.net/board/bbs/js/select2.min.js">http://hanwool1.x-y.net/board/bbs/js/select2.min.js 입니다.

소스를 넣으면 다 영향을 받는거 같네요

위에 홈페이지 js 파일을 수정하지 않고 게시판이 깨지지 않게 할려면 어찌 해야 할까요?

크기와 높이만 지정해 주면 될거 같은데 잘 되지 않아서 낑낑거리다가 질문 올립니다.

</span></strong></p><p><span style='font-family: "나눔고딕",NanumGothic;'><fieldset id="bo_sch"></span>
<span style='font-family: "나눔고딕",NanumGothic;'>  <!-- <legend>게시물 검색</legend> -->  </span></p><p><span style='font-family: "나눔고딕",NanumGothic;'>    <form name="fsearch" method="get"></span>
<span style='font-family: "나눔고딕",NanumGothic;'>    <input type="hidden" name="bo_table" value="<?php echo $bo_table ?>"></span>
<span style='font-family: "나눔고딕",NanumGothic;'>    <input type="hidden" name="sca" value="<?php echo $sca ?>"></span>
<span style='font-family: "나눔고딕",NanumGothic;'>    <input type="hidden" name="sop" value="and"></span>
<span style='font-family: "나눔고딕",NanumGothic;'>    <label for="sfl" class="sound_only">검색대상</label></span>
<span style='font-family: "나눔고딕",NanumGothic;'>    <select name="sfl" id="sfl" style="height:35px"></span>
<span style='font-family: "나눔고딕",NanumGothic;'>        <option value="wr_subject"<?php echo get_selected($sfl, 'wr_subject', true); ?>>제목</option></span>
<span style='font-family: "나눔고딕",NanumGothic;'>        <option value="wr_content"<?php echo get_selected($sfl, 'wr_content'); ?>>내용</option></span>
<span style='font-family: "나눔고딕",NanumGothic;'>        <option value="wr_subject||wr_content"<?php echo get_selected($sfl, 'wr_subject||wr_content'); ?>>제목+내용</option></span>
<span style='font-family: "나눔고딕",NanumGothic;'>        <option value="mb_id,1"<?php echo get_selected($sfl, 'mb_id,1'); ?>>회원아이디</option></span>
<span style='font-family: "나눔고딕",NanumGothic;'>        <option value="mb_id,0"<?php echo get_selected($sfl, 'mb_id,0'); ?>>회원아이디(코)</option></span>
<span style='font-family: "나눔고딕",NanumGothic;'>        <option value="wr_name,1"<?php echo get_selected($sfl, 'wr_name,1'); ?>>글쓴이</option></span>
<span style='font-family: "나눔고딕",NanumGothic;'>        <option value="wr_name,0"<?php echo get_selected($sfl, 'wr_name,0'); ?>>글쓴이(코)</option></span>
<span style='font-family: "나눔고딕",NanumGothic;'>    </select></span>
<span style='font-family: "나눔고딕",NanumGothic;'>    <label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label></span>
<span style='font-family: "나눔고딕",NanumGothic;'>    <input type="text" name="stx" value="<?php echo stripslashes($stx) ?>" required id="stx" class="frm_input required select1" size="25" maxlength="15" style="height:35px"></span>
<span style='font-family: "나눔고딕",NanumGothic;'>    <input type="submit" value="검색" class="btn_submit" style="height:35px"></span>
<span style='font-family: "나눔고딕",NanumGothic;'>    </form></span>
<span style='font-family: "나눔고딕",NanumGothic;'></fieldset></span></p><p><strong><span style='font-family: "나눔고딕",NanumGothic;'>
 

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트

해당 스크립트를 head.sub.php 파일에서 스크립트 위치 상단에 위치해보세요

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

다조아해
8년 전
감사합니다.
상단으로 올리니 잘 되네요.

---------------------------------------

상단으로 올리니 게시판은 잘 되는데 주메뉴가 작동하지 않는 현상이 발생하네요

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인