中国网站美工网!网页设计者的天堂!
本站特色:HTML网页模版下载    
  您的位置:

首页 >> 网页特效 >> 测试搜索 >> 正文

相关信息

不错的页面搜索脚本
在跳出的对话框中输入关键字然后
较为简单的搜索器
再一个不错的搜索脚本
若干道试题,自动给出成绩,并MA
同样是搜索脚本,好像这个界面好
又一不错的搜索引擎...
健康值测试
超级酷搜索引擎
测试网站进入速度很实用
测试网页的链接速度
一个很普通的综合搜索引擎,你也可
这个用来做调查很好
加减乘除的运算测试
在选题的同时跳出对话框提示
一个选题,完成后给出结论
问卷调查脚本
这是EQ测试题 (也可以用来测试做
搜索引擎登记脚本
在你的网页上加上多个搜索引擎的

这个脚本将查询的结果显示在了文本框中

这个脚本将查询的结果显示在了文本框中


来源: 不详 | 时间: 2006-1-15 18:41:50 | 人气:

 

这个脚本将查询的结果显示在了文本框中

要完成此效果把如下代码加入到<body>区域中

<form name="database">

  <input type="hidden" name="list" value='http://www.webcrawler.com~Webcrawler|keywords for first

file go here separated by spaces^A great search engine from the makers of

AOL!*http://typhoon.500.to~JavaScript Fairyland|java javascript search html download cgi perl

dhtml games activex 下载 脚本^Typhoon Start!*http://www.1.com/~1.com|ActiveX ASP C/C++ CGI

Databases java javascript^1.com!*'>

</form>

<p>

  <script language="JavaScript">

<!--

version = 1.0;

// -->

</script>

  <script language="JavaScript1.1">

<!--

version = 1.1;

// -->

</script>

  <script language="JavaScript">

<!--

// When set to true, searching for "fun*y" matches in the string "fun sky".

//  (it will also match the string "fun and here is some long dummy text for you"

//  which is obviously not what they were looking for, so we suggest you set

//  match_across_word_boundaries to false)

// When set to false, the * operator will not match across word boundaries so

// the above example will not match.

match_across_word_boundaries = false; // false is suggested strongly

 

 

// ************ NO NEED TO MODIFY ANYTHING BELOW THIS POINT ************

 

function Page(url,title,keywords) {

 while ((url.length > 0) && (url.charAt(0) == " ")) {

  url = url.substring(1,url.length);

 }

 this.url = url;

 while ((title.length > 0) && (title.charAt(0) == " ")) {

  title = title.substring(1,title.length);

 }

 this.title = title;

 this.keywords = keywords;

 return this;

}

function Database() {

 var pos = 0;

 while ((pos1 = amorphous.indexOf("~",pos)) != -1) {

  pos2 = amorphous.indexOf("|",pos1+1);

  pos3 = amorphous.indexOf("*",pos2+1);

  if ((pos2 != -1)

  && (pos2 < pos3) && (pos3 <= amorphous.indexOf("*",pos))) {

   this[database_length++] = new Page(amorphous.substring(pos,pos1),

   amorphous.substring(pos1+1,pos2),

   amorphous.substring(pos2+1,pos3));

   pos = pos3+1;

  } else { // error reading amorphous database

   if (pos+30 <= amorphous.length)

    alert('Error reading in amorphous database around "'

     + amorphous.substring(pos,pos+30) + '"');

   pos = amorphous.indexOf("*",pos) + 1;

  }

 }

 return this;

}

var array = new Object();

array_length = 0; // Netscape 2 fix

var position = new Object();

position_length = 0; // Netscape 2 fix

function pattern(str) {

 array_length = position_length = 0;

 while ((str.length > 1) && (str.charAt(0) == "*")) {

  str = str.substring(1,str.length);

 }

 while ((str.length > 1) && (str.charAt(str.length-1) == "*")) {

本新闻共4页,当前在第1页  1  2  3  4  

 
  上一篇:再一个不错的搜索脚本  下一篇:较为简单的搜索器
Copyright © 2005 - 2006 WEB600.Net,All Rights Reserved
业务联系 QQ 站长:106324307 美工:270348300 程序:63888546
E-mail: 3235183@163.com MSN: fuqiyangru@hotmail.com
中国网站美工网--网页设计者的天堂! 陕ICP备06005517号
本站资源来自互联网 如果侵犯您的权利 请通知我们 我们会尽快删除