说明: 搜狐免费搜索代码
搜狗 是 搜狐 (www.sohu.com)推出的第三代互动式搜索引擎,在用户输入一个查询词后,尝试理解用户可能的查询意图,给出多个主题概念的搜索提示,通过人机交互过程,智能展开多组相关的主题概念,引导用户更快速准确定位自己所关注的内容。
想要你的网站也拥有象sohu搜索一样强大的查找功能吗? 方法很简单,只需将以下代码之一复制到您的网页中,即可实现。
(选择合适的搜索代码 将代码框中的代码copy到您的页面中的相应位置上 ,即可在你的网页中实现拥有搜狐搜索框的愿望)
效果: 点这里在新窗口中看效果!
代码:
<table width=630 cellspacing=0 cellpadding=3 border=0>
<form name=search_form action='http://search.sohu.com/web'
method=get
target=_blank>
<tr bgcolor=E3EEFF>
<td width=100%> <a href='http://search.sohu.com/web?pid=dabaoku'
target=_blank style='font-size:14px;color:000000;text-decoration:none;'>
<b><font color=>搜狐搜索</font></b></a>
<input type=text name=query style='font-size:14px;width:110'>
<input type=submit name=ss value=搜索 onClick=document.search_form.action='http://search.sohu.com/web'
style='font-size:14px;width=40;height=20'>
<input type=submit name=zt value=直通车 onClick=document.search_form.action='http://zt.search.sohu.com/sq.jsp'
style='font-size:14px;width=50;height=20'>
<input type=hidden name=pid value='dabaoku'>
<span style='font-size:12px;color:000000;'>热门词:</span>
<iframe marginwidth=0 vspace=-10 marginheight=0 src='http://partner.search.sohu.com/cpc/hotkey.php?pid=dabaoku
&bg=E3EEFF&ft=000000' frameborder=0 width=260 scrolling=no
height=20 bordercolor=CCCCCC>
</iframe></td>
</tr>
</form>
</table>
作者:佚名 来源: 网上转帖 |