原创 超级搜索引擎收藏

新一篇: sqlserver2000安装程序以及补丁下载 | 旧一篇: IIS Url ReWriting 示例

<script language=javascript>
function searchFun(WhoForm,winSign){
e=WhoForm.sq[WhoForm.sq.selectedIndex].value;
k=WhoForm.k.value;
if(k=="" || k=="请输入关键字"){alert("请输入关键词!"); k="";WhoForm.k.focus();return false;}
if(e=="baidu"){SearchURL="http://www1.baidu.com/baidu?word="+k;}
if(e=="yahoo_cn"){SearchURL="http://cn.search.yahoo.com/search/cn?p="+k;}
if(e=="sina_cn"){SearchURL="http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey="+k;}
if(e=="sohu"){SearchURL="http://site.search.sohu.com/website.jsp?key_word="+k;}
if(e=="163com"){SearchURL="http://search.163.com/cgi-bin/search/engine/search.fcgi?key="+k;}
if(e=="tom"){SearchURL="http://web01.baidu.com/baidu?tn=tomds&sr=&bs=&word="+k;}
if(e=="yahoo_tw"){SearchURL="http://tw.search.yahoo.com/search/kimo?p="+k;}
if(e=="yam"){SearchURL="http://dir.yam.com/bin/search?k="+k;}
if(e=="yahoo"){SearchURL="http://search.yahoo.com/bin/search?p="+k;}
if(e=="excite"){SearchURL="http://msxml.excite.com/_1_8WCUI50371NN81__info.xcite/dog/results?otmpl=dog/webresults.htm&qkw="+k;}
if(winSign==0){window.location=SearchURL;}
if(winSign==1){window.open(SearchURL,"_blank");}
return false; 
 }
</script>
  
<FORM name="sel"  onSubmit="return searchFun(this,1);">
<INPUT onclick="Javascript:this.value='';" tabIndex=2 size=10 value="请输入关键字" name=k>
<SELECT class=Input style="WIDTH: 100px"  name=sq>
<OPTION value=baidu selected>百度</OPTION>
<OPTION value=yahoo_cn>中文Yahoo</OPTION>
<OPTION value=sina_cn>中文新浪</OPTION>
<OPTION value=sohu>搜狐</OPTION>
<OPTION value=163com>网易</OPTION>
<OPTION value=tom>tom.com</OPTION>
<OPTION value=yahoo_tw>繁体Yahoo</OPTION>
<OPTION value=yam>(繁体)蕃薯藤</OPTION>
<OPTION value=yahoo>英文Yahoo</OPTION>
<OPTION value=excite>英文excite</OPTION>
</SELECT>
<INPUT style="CURSOR: hand" type=submit value=" 搜 索 " name=login2>
</form>

发表于 @ 2004年11月15日 16:34:00|评论(loading...)|编辑

新一篇: sqlserver2000安装程序以及补丁下载 | 旧一篇: IIS Url ReWriting 示例

评论:没有评论。

发表评论  


当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
Csdn Blog version 3.1a
Copyright © shysky