게시판 하단 검색하기가 깨져서
본문
페이지를 만들어서 게시판을 넣었는데 상단 주메뉴 때문에 js가 겹치는 현상으로
위에 이미지처럼 검색대상이 깨지는 현상이 발생하고 있습니다.
홈페이지에서 주메뉴 관련 js인데 이거에 영향을 주는 파일은
js/select2.min.js 입니다.
<select> </select> 소스를 넣으면 다 영향을 받는거 같네요
위에 홈페이지 js 파일을 수정하지 않고 게시판이 깨지지 않게 할려면 어찌 해야 할까요?
크기와 높이만 지정해 주면 될거 같은데 잘 되지 않아서 낑낑거리다가 질문 올립니다.
<fieldset id="bo_sch">
<!-- <legend>게시물 검색</legend> -->
<form name="fsearch" method="get">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="sca" value="<?php echo $sca ?>">
<input type="hidden" name="sop" value="and">
<label for="sfl" class="sound_only">검색대상</label>
<select name="sfl" id="sfl" style="height:35px">
<option value="wr_subject"<?php echo get_selected($sfl, 'wr_subject', true); ?>>제목</option>
<option value="wr_content"<?php echo get_selected($sfl, 'wr_content'); ?>>내용</option>
<option value="wr_subject||wr_content"<?php echo get_selected($sfl, 'wr_subject||wr_content'); ?>>제목+내용</option>
<option value="mb_id,1"<?php echo get_selected($sfl, 'mb_id,1'); ?>>회원아이디</option>
<option value="mb_id,0"<?php echo get_selected($sfl, 'mb_id,0'); ?>>회원아이디(코)</option>
<option value="wr_name,1"<?php echo get_selected($sfl, 'wr_name,1'); ?>>글쓴이</option>
<option value="wr_name,0"<?php echo get_selected($sfl, 'wr_name,0'); ?>>글쓴이(코)</option>
</select>
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<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">
<input type="submit" value="검색" class="btn_submit" style="height:35px">
</form>
</fieldset>