Dreamweaver FrontPage HTML/CSS Javascript 
Google adsense申请技巧本站核心代理域名注册主机业务 快速发布你的买卖域名买卖网站信息 1元注册 cn域名
站长每日新闻导读 √ ·推荐万网空间¥120元 150m 站长网:站长必上的网站网站联盟大全本站代理万网域名55空间120元
 2007-4-4 14:44:54

搜索框模板

来源: 字体:[ ]

下面提供两种搜索框:

(1).图片按钮搜索框格式: (注意下面的图片)



<form method="post" action="/search.aspx" target="_blank">
 <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="18%">站内搜索:</td>
        <td width="40%"><input name='keyword' class="Input" value="请在此输入您要找的关键字" size="26" maxlength=128 onclick="javascript:this.value=' '"></td>
        <td width="24%"><select name='searchArea' class="Input">
<option value="false">==标题检索==</option>
<option value="true">==标题内容==</option>
</select></td>
        <td width="18%">
  <input type="image" src="/images/search_nmbut.jpg" name="image" value='开始检索' />
</td>
      </tr>
    </table>
  </form>

(2)提交按钮搜索框格式:

<table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="26"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle">
<td height="26"> <table width="85%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" align="center" valign="middle"><table width="182" height="22" border="0" cellpadding="0" cellspacing="0">
<tr>
<th align="center" valign="middle" scope="col"><input name='keyword' class="Input" value="请在此输入您要找的关键字" size="26" maxlength=128 onClick="javascript:this.value=' ' "></th>
<th align="center" valign="middle" scope="col"><select name='searchArea' class="Input">
  <option value="false">==标题检索==</option>
  <option value="true">==标题内容==</option>
</select></th>
<th align="center" valign="middle" scope="col"><input name="button" type='button' class="Buttom" onClick='window.location.href="/search.aspx?
keyword="+keyword.value+"&content="+searchArea.value+""' value='开始检索'></th>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>

网站地图 - 域名注册续费虚拟主机代理 - 交易论坛 - 网站投稿 - 广告服务 - 帮助中心 - 联系我们
Copyright ©2003-2007 www.Admin5.com All Rights Reserved