채택완료

검색적용 문의드립니다.

2021-05-15 (토) 09:49:47 1,874

Copy
<style>
.searchform div {
height: 26px;
width: 193px;
}

.searchboxwrapper {
position: relative;
}

.searchbox {
border: 1px solid #dadada;
outline: none;
font: 11px 'Montserrat', sans-serif;
color: #777;
width: 182px;
height: 26px;
background: #fff;
padding-left: 10px;
}

.searchsubmit {
font-family: 'FontAwesome';
width: 29px;
height: 29px;
border: 1px solid #dadada;
font-size: 12px;
position: absolute;
top: 0;
right: 0;
background: #dadada;
border: none;
color: #5d3250;
cursor: hand; cursor: pointer;
}
</style>
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
  
<form role="search" method="get" id="searchform" class="searchform" action="#" _lpchecked="1">

<div class="searchboxwrapper">
  
<input class="searchbox" type="text" value="" name="s" placeholder="Search for" id="s">
  
<input class="searchsubmit" type="submit" id="searchsubmit" value="">
  
</div>
</form>

    
    
    아래 그누보드 소스를 위에 소스.... 검색 적용시킬려고 합니다.  혹시 가능한가요?
    
Copy
<form name=fsearch action="<?php echo G5_BBS_URL ?>/search.php" class="search-box">
        <input type="hidden" name="sfl" value="wr_subject||wr_content">
        <input type="hidden" name="sop" value="and">
                   <a href="xx">xx</a>&nbsp;<span class="search-text"><input type=text name=stx id=stx></span>
        <input type=submit value="자막검색" class="search-button">
|

답변 1개 / 댓글 1개

채택된 답변
+20 포인트
2021-05-15 (토) 11:22:00

소스는 상관이 없는데 어디에 어떻게 적용을 하실려는건가요? 소스 자체는 문제가 없어 보이비다.

답변에 대한 댓글 1개

그누보드 5 메인에 검색바... 아래 소스만 그대로 적용시켰는데 검색자체가 안되서요...


<!-- 헤더 시작 -->
<div id="head"><br>
<table border=0 width=800 cellpadding=0 cellspacing=0 style="margin:0 auto 0 auto;">
<td width=10></td>
<td width=1330 valign="top" style="padding-top:9px;">

<style>
.searchform div {
height: 26px;
width: 193px;
}
.searchboxwrapper {
position: relative;
}
.searchbox {
border: 1px solid #dadada;
outline: none;
font: 11px 'Montserrat', sans-serif;
color: #777;
width: 182px;
height: 26px;
background: #fff;
padding-left: 10px;
}
.searchsubmit {
font-family: 'FontAwesome';
width: 29px;
height: 29px;
border: 1px solid #dadada;
font-size: 12px;
position: absolute;
top: 0;
right: 0;
background: #dadada;
border: none;
color: #5d3250;
cursor: hand; cursor: pointer;
}
</style>
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">

<form role="search" method="get" id="searchform" class="searchform" action="#" _lpchecked="1">
<div class="searchboxwrapper">

<input class="searchbox" type="text" value="" name="s" placeholder="Search for" id="s">

<input class="searchsubmit" type="submit" id="searchsubmit" value="">

</div>
</form>

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