中国IT动力,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档 | 网通镜像
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 精文荟萃 > 经验技巧
几个常用搜索引擎代码
作者:未知 时间:2002-08-17 11:18 出处:互联网 责编:chinaitpower
              摘要:几个常用搜索引擎代码

<script>
function search4()
{
if(form1.abc6.checked)
   window.open("http://www.google.com/search?hl=zh-CN&lr=lang_zh-CN&q="+form1.key.value,"mspg6");
if(form1.abc9.checked)
   window.open("http://www1.baidu.com/baidu?tn=site5566&word="+form1.key.value,"mspg9");
if(form1.abc0.checked)
   window.open("http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey="+form1.key.value,"mspg0");
if(form1.abc4.checked)
   window.open("http://cns.3721.com/cns.dll?name="+form1.key.value,"mspg4");
if(form1.abc5.checked)
   window.open("http://search.yahoo.com/bin/search?p="+form1.key.value,"mspg5");
return false;  
}
</script>
<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center"><form name="form1" onsubmit="return(search4())">
      <p><input type="text" name="key" size="12"><input type="checkbox" name="abc6"
      value="google" checked>Google <input type="checkbox" name="abc9" value="baidu" checked>百度 <input type="checkbox" name="abc0" value="sina">新浪
      <input type="checkbox" name="abc4" value="3721">3721 <input
      type="checkbox" name="abc5" value="yahooe">Yahoo <input
      type="submit" value="搜索" name="B1" style="{font-size:12px;background:#cccccc;}"> </p>   
    </td></form>
    <td>
  </tr>
  <tr><td colspan="2" height="7"></td></tr>
</table>
关闭本页
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有