⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 search.htm

📁 datacnie多页面浏览器datacnie 原程序
💻 HTM
📖 第 1 页 / 共 2 页
字号:
		 searchbox.query.value = searchtable.keyword.value;
		 searchbox.SearchFor.value = searchtable.keyword.value;
		 searchbox.search.value = searchtable.keyword.value;
		 searchbox.terms.value = searchtable.keyword.value;
		 searchbox.target = 'w'+i;				
		 searchbox.submit();				
		}
	   }
	  }
	  //document.searchtable.keyword.value=""; 
	}


</script>

<!--hide search engines-->
<script language="JavaScript">

NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;
if (ver4) {
  with (document) {
      write("<STYLE TYPE='text/css'>");
      if (NS4) {
          write(".parent {position:absolute; visibility:visible}");
          write(".child {position:absolute; visibility:visible}");
          write(".regular {position:absolute; visibility:visible}")
      }
      else {
          write(".child {display:none}")
      }
      write("</STYLE>");
  }
}

//======================

function getIndex(el) {
  ind = null;
  for (i=0; i<document.layers.length; i++) {
      whichEl = document.layers[i];
      if (whichEl.id == el) {
          ind = i;
          break;
      }
  }
  return ind;
}
function arrange() {
  nextY = document.layers[firstInd].pageY +document.layers[firstInd].document.height;
  for (i=firstInd+1; i<document.layers.length; i++) {
      whichEl = document.layers[i];
      if (whichEl.visibility != "hide") {
          whichEl.pageY = nextY;
          nextY += whichEl.document.height;
      }
  }
}
function initIt(){
  if (!ver4) return;
  if (NS4) {
      for (i=0; i<document.layers.length; i++) {
          whichEl = document.layers[i];
          if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide";
     }
      arrange();
  }
  else {
      divColl = document.all.tags("DIV");
      for (i=0; i<divColl.length; i++) {
          whichEl = divColl(i);
          if (whichEl.className == "child") whichEl.style.display = "none";
      }
  }
}
function expandIt(el) {
  if (!ver4) return;
  if (IE4) {
      whichEl = eval(el + "Child");
      if (whichEl.style.display != "block") {
          whichEl.style.display = "block";
      }
      else {
          whichEl.style.display = "none";
      }
  }
  else {
      whichEl = eval("document." + el + "Child");
      if (whichEl.visibility == "hide") {
          whichEl.visibility = "show";
      }
      else {
          whichEl.visibility = "hide";
      }
      arrange();
  }
}

function moues_txt(txt)
{
  window.status=txt;
}

var sellist = new Array();

function checkall()
{
	for(i=0; i<sellist.length; i++)
		if(sellist[i])
			eval('document.searchtable.selall'+i+'.checked=true');
}
//-->
</script>
<style type="text/css">
<!--
.d1 	{font-family: "宋体";font-size: 9pt; cursor:hand; width:105}
.d 	{font-family: "宋体";font-size: 9pt; background: #3C6EA4;color: #FFFFFF}
td.d2 	{font-family: "宋体";font-size: 9pt; background: #ffffff;color: #000000; width:110}
a 	{font-family: "宋体";text-decoration: none; font-size: 9pt; color: #000000; cursor: hand; }
a:hover	{font-family: "宋体";color: #FF0000; text-decoration: underline; font-size: 9pt; cursor: hand}
input.i1{font-size: 9pt;}
-->
</style>
</head>

<body link="#303030" alink=#00a0e9 onunload="savesearch()" onload="checkall()">

<center>
  <table width="77%" border="0">
    <tr> 
      <td width="29%"><a href="http://www.datacn.com"><img src="images/datacn.gif" width="198" height="70" border="0"></a></td>
      <td width="71%"><img src="images/banner1.gif" width="468" height="60"></td>
    </tr>
    <tr> 
      <td colspan="2"> <br>
        <br>
      </td>
    </tr>
  </table>
  <table width="37%" border="1" bordercolor="#0000FF">
    <tr>
      <td>
        <table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
          <tr>
            <td> 
              <form name="searchtable" onSubmit="Search(); return false;">
                <center>
                  <center>
                    <input type="text" name="keyword" style="width: 150; background-color: #FAFCEF; border: 1 solid #20663B">
                    <br>
                    <input type="submit" value="查询" style="background-color: #bfbfe2;" name="submit">
                    <input type="reset" value="重新输入" style="background-color: #bfbfe2;" name="reset">
                  </center>
                  <table border=0 cellpadding="0" cellspacing="0" cols="2" width="100%" >
                    <tr>
                      <td colspan="2" class="d1">
                        <div></div>
                      </td>
                      <script language="javascript">
                                                                                         
with (document)
	{var tb=0, total=0, selected=0, cates=0, selalllist='';
 	 for (var i=0; i<se.length; i++)
	  {if (se[i].url == ''&& se[i].name!='')
	   {if (tb > 0)
	   	write('</TR>');
		write('</table></div><div align=left class="d"><span onClick="expandIt(\'category'+cates+'\')" class="d1">' + se[i].name + '</span>  <input TYPE="CHECKBOX" name="selall'+cates+'" onClick="onselall('+i+', document.searchtable.selall'+cates+'.checked' +')">全选</div>');
		write('<div align=left id="category'+cates+'Child" class="child"><table border=0 cellpadding="0" cellspacing="0">')
 	        if(selected > 0 && total!=selected)
		  expandIt('category'+(cates-1));
		if(total == selected && cates>0)
		  {
			sellist[cates-1]=1;  
		  }
		else
			sellist[cates-1]=0;
		tb = 0;
		total = 0;
		selected = 0;
		cates++;
	    }
	    else if (se[i].name!='')
	    {
	     tb++;
	     if (tb==1)
	     write('<TR>\n');
	     write('<TD NOWRAP class="d2"><INPUT TYPE="CHECKBOX" ' + (se[i].checked?' CHECKED':'') + ' NAME="w' + i + '" onClick="se[' + i + '].checked = document.searchtable.w'+i+'.checked">' + 
	     '<A HREF="' + se[i].url + '" TARGET="w' + i + '"><font size=-1>' + se[i].name + '</font></A></TD>');
	     if (tb > 1)
		{
		 write('</TR>\n');
		 tb = 0;
		}
	     if(se[i].checked)
		selected++
	     total++;
	     }
	  }
	}

        if(selected > 0)
	  expandIt('category'+(cates-1));
	if(total == selected && cates>0)
		sellist[cates-1]=1;  
	else
		sellist[cates-1]=0;

	if (top.NS)
	 {document.searchbox.reset();
          document.searchtable.reset();
         }

	/*selalllist = selalllist.split(';');
	for(i=0; i<selalllist.length-1; i++)
		eval('document.searchtable.selall'+selalllist[i]+'.checked=true');*/

</script>
                  </table>
                </center>
              </form>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  <br>
  <a href="default.htm">返回</a> 
  <form name="searchbox" method=post >

<input type="hidden" name="maxhits" value="25">
<input type="hidden" name="format" value="terse">
<input type="hidden" name="threaded" value="0">
<input type="hidden" name="showsort" value="score">
<input type="hidden" name="agesign" value="1">
<input type="hidden" name="ageweight" value="1">
<input type="hidden" name="head" value="noframes">
<input type="hidden" name="tail" value="noframes">
<input type="hidden" name="mode" value="phrase">
<input type="hidden" name="bool" value="allterms">
<input type="hidden" name="websearch" value="checked">
<input type="hidden" name="area" value="webtext">
<input type="hidden" name="defaultop" value="and">
<input type="hidden" name="svcclass" value="dncurrent">
<input type="hidden" name="searnum" value="0">
<input type="hidden" name="searadd" value="searchgo">
<input type="hidden" name="keywordc">
<input type="hidden" name="keywords">
<input type="hidden" name="query">
<input type="hidden" name="terms">
<input type="hidden" name="SearchFor">
<input type="hidden" name="search">

</form>


</center></body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -