통합 검색 초보의 질문입니다.ㅜㅜ
본문
안녕하세요 언니 오빠 형들! 제가 완전 초보인데요 통합검색 질문 하나 올립니다
홈페이지에 이렇게 검색페이지는 넣는데 바로 밑에 사진처럼 저 화면으로 넘어가네요
맨 밑에 이미지 처럼 검색부분만 불러 오게 할려면 어찌해야 되는건지요?
몇칠전 혼자 검색하다 하도 답답해서 글 올려봅니다
게시판 생성해서 ../hard ../foot
도 넣고 해봤지만 구현을 할수가 없네요 제발좀 도와 주세요 ㅠㅠ
되도록이면 구체적으로 알려주시면 너무 감사드리겠습니다!!
<?
$table_width = 980;
?>
$table_width = 980;
?>
<div align=center>
<!-- 상단 로고 및 버튼 시작 -->
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<!-- 로고 -->
<td width="310"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/tr_logo.jpg" width="310" height="69" border="0" style="margin-left:50px;"></a></td>
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<!-- 로고 -->
<td width="310"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/tr_logo.jpg" width="310" height="69" border="0" style="margin-left:50px;"></a></td>
<td width="620" align="right" valign="top">
<table border="0" cellspacing="0" cellpadding="0">
<tr height="10">
<td></td>
</tr>
<tr>
<td><a href='#' onclick="javascript:window.external.addfavorite('http//alziosir.cafe24.com','알지오alziosir.cafe24.com');" title="즐겨찾기">즐겨찾기</a> /
<a href="#" title="메뉴A">메뉴A</a> /
<a href="#" title="메뉴B">메뉴B</a> /
<a href="#" title="메뉴C">메뉴C</a> </td>
</tr>
<tr height="15">
<td></td>
</tr>
<tr>
<form name="fsearchbox" method="get" onsubmit="return fsearchbox_submit(this);" style="margin:0px;">
<!-- <input type="hidden" name="sfl" value="concat(wr_subject,wr_content)"> -->
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<td align="right"> <div id="isA">
<input name="stx" type="text" style="border:1px solid #ccc; width:105px; height:20px; color:red; font:11px 돋움; font-weight:bold; margin: 0px 0px 0px 0px" maxlength="20" title="검색어 입력해lie새끼야">
<input type="image" src="<?=$g4['path']?>/img/button_IC.gif" border="0" style="margin: 5px 5px 0 0"></div>
</td>
</tr>
</table></td>
<td width="35"></td>
</tr></form>
</table>
<script type="text/javascript">S
function fsearchbox_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
<table border="0" cellspacing="0" cellpadding="0">
<tr height="10">
<td></td>
</tr>
<tr>
<td><a href='#' onclick="javascript:window.external.addfavorite('http//alziosir.cafe24.com','알지오alziosir.cafe24.com');" title="즐겨찾기">즐겨찾기</a> /
<a href="#" title="메뉴A">메뉴A</a> /
<a href="#" title="메뉴B">메뉴B</a> /
<a href="#" title="메뉴C">메뉴C</a> </td>
</tr>
<tr height="15">
<td></td>
</tr>
<tr>
<form name="fsearchbox" method="get" onsubmit="return fsearchbox_submit(this);" style="margin:0px;">
<!-- <input type="hidden" name="sfl" value="concat(wr_subject,wr_content)"> -->
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<td align="right"> <div id="isA">
<input name="stx" type="text" style="border:1px solid #ccc; width:105px; height:20px; color:red; font:11px 돋움; font-weight:bold; margin: 0px 0px 0px 0px" maxlength="20" title="검색어 입력해lie새끼야">
<input type="image" src="<?=$g4['path']?>/img/button_IC.gif" border="0" style="margin: 5px 5px 0 0"></div>
</td>
</tr>
</table></td>
<td width="35"></td>
</tr></form>
</table>
<script type="text/javascript">S
function fsearchbox_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1) {
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
f.action = "<?=$g4['bbs_path']?>/search.php";
return true;
}
</script>
<!-- 상단 로고 및 버튼 끝 -->
return true;
}
</script>
<!-- 상단 로고 및 버튼 끝 -->
<!-- 상단메뉴 -->
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0" background="/img/a-1.gif">
<tr>
<style>
.menu1 ul li {
background:#ffcc00;
list-style:none;
float: left;
margin:2px;
width: 100px;
text-align: center; }
</style>
<td>
<div class="menu1">
<ul>
<li><a href="#"><b>menu</b></a></li>
<li><a href="#"><b>menu</b></a></li>
<li><a href="#"><b>menu</b></a></li>
<li><a href="#"><b>menu</b></a></li>
<ul></div></td>
</tr>
</table>
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0" background="/img/a-1.gif">
<tr>
<style>
.menu1 ul li {
background:#ffcc00;
list-style:none;
float: left;
margin:2px;
width: 100px;
text-align: center; }
</style>
<td>
<div class="menu1">
<ul>
<li><a href="#"><b>menu</b></a></li>
<li><a href="#"><b>menu</b></a></li>
<li><a href="#"><b>menu</b></a></li>
<li><a href="#"><b>menu</b></a></li>
<ul></div></td>
</tr>
</table>
<!-- 상단메뉴 끝 -->
<div style='height:20px;'></div>
<table width='<?=$table_width?>' cellpadding=0 cellspacing=0 border=0>
<tr>
<tr>


답변을 작성하시기 전에 로그인 해주세요.