在网站中加入google的搜索服务
1.加入google的网页搜索
<html><script language="javascript"> function goSearch(){ document.forms[0].target="_blank"; document.forms[0].submit(); } </script><body><FORM name=f action=http://www.google.com/search> <TABLE cellSpacing=0 cellPadding=0> <TBODY> <TR vAlign=center> <TD width=75> </TD> <TD align=middle><INPUT maxLength=256 size=55 name=q> <INPUT type=hidden value=zh-CN name=hl><BR> <INPUT type=hidden value=utf-8 name=ie> </TD> <TD vAlign=top noWrap><FONT size=-1> • <A href="#" onclick="goSearch()">google搜索</A></FONT></TD></TR> </TBODY></TABLE></FORM></body></html>
?
2.加入google的视频搜索
<html><script language="javascript"> function goSearch(){ document.forms[0].target="_blank"; document.forms[0].submit(); } </script><body><FORM name="f" action="http://video.google.cn/videosearch"> <TABLE cellSpacing=0 cellPadding=0> <TBODY> <TR vAlign=center> <TD width=75> </TD> <TD align=middle><INPUT maxLength=256 size=55 name=q> <INPUT type=hidden value=zh-CN name=hl><BR> <INPUT type=hidden value=utf-8 name=ie> </TD> <TD vAlign=top noWrap><FONT size=-1> • <A href="#" onclick="goSearch()">google搜索</A></FONT></TD></TR> </TBODY></TABLE></FORM></body></html>
?
3.加入google的地图搜索
<html><script language="javascript"> function goSearch(){ document.forms[0].target="_blank"; document.forms[0].submit(); } </script><body><FORM name="f" action="http://ditu.google.cn/maps"> <TABLE cellSpacing=0 cellPadding=0> <TBODY> <TR vAlign=center> <TD width=75> </TD> <TD align=middle> <INPUT maxLength=128 size=35 name=q> <INPUT type=hidden value=zh-CN name=hl> <INPUT type=hidden value=utf-8 name=ie> <INPUT type=hidden value=wl name=tab> </TD> <TD vAlign=top noWrap><FONT size=-1> • <A href="#" onclick="goSearch()">google搜索</A></FONT></TD></TR> </TBODY></TABLE></FORM></body></html>
?
4.加入google的图片搜索
<html><script language="javascript"> function goSearch(){ document.forms[0].target="_blank"; document.forms[0].submit(); } </script><body><FORM name="f" action="http://images.google.cn/images"> <TABLE cellSpacing=0 cellPadding=0> <TBODY> <TR vAlign=center> <TD width=75> </TD> <TD align=middle> <INPUT maxLength=128 size=35 name=q> <INPUT type=hidden value=zh-CN name=hl> <INPUT type=hidden value=utf-8 name=ie> <INPUT type=hidden value=wl name=tab> </TD> <TD vAlign=top noWrap><FONT size=-1> • <A href="#" onclick="goSearch()">google搜索</A></FONT></TD></TR> </TBODY></TABLE></FORM></body></html>
?
5.加入google的资讯搜索
<html><script language="javascript"> function goSearch(){ document.forms[0].target="_blank"; document.forms[0].submit(); } </script><body><FORM name="f" action="http://news.google.cn/news"> <TABLE cellSpacing=0 cellPadding=0> <TBODY> <TR vAlign=center> <TD width=75> </TD> <TD align=middle> <INPUT maxLength=128 size=35 name=q> <INPUT type=hidden value=zh-CN name=hl> <INPUT type=hidden value=1 name=um> <INPUT type=hidden value=in name=tab> </TD> <TD vAlign=top noWrap><FONT size=-1> • <A href="#" onclick="goSearch()">google搜索</A></FONT></TD></TR> </TBODY></TABLE></FORM></body></html>
?
6.加入google的博客搜索
<html><script language="javascript"> function goSearch(){ document.forms[0].target="_blank"; document.forms[0].submit(); } </script><body><FORM name="f" action="http://blogsearch.google.cn/blogsearch"> <TABLE cellSpacing=0 cellPadding=0> <TBODY> <TR vAlign=center> <TD width=75> </TD> <TD align=middle> <INPUT maxLength=128 size=35 name=q> <INPUT type=hidden value=zh-CN name=hl> <INPUT type=hidden value=1 name=um> <INPUT type=hidden value=nb name=tab> </TD> <TD vAlign=top noWrap><FONT size=-1> • <A href="#" onclick="goSearch()">google搜索</A></FONT></TD></TR> </TBODY></TABLE></FORM></body></html>
?