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

📄 resource.htm

📁 一个嵌入式的代码 MyIE3.0 代码 看了就知道了
💻 HTM
📖 第 1 页 / 共 2 页
字号:
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;

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 expandIt2(whichEl) {
  if (!ver4) return;
  if (IE4) {
      if (whichEl.style.display != "inline") {
          whichEl.style.display = "inline";
      }
      else {
          whichEl.style.display = "none";
      }
  }
  else {
      if (whichEl.visibility == "hide") {
          whichEl.visibility = "show";
      }
      else {
          whichEl.visibility = "hide";
      }
      arrange();
  }
}


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">
<!--
td 	{  font-size: 9pt}
.d 	{font-family: "宋体";font-size: 9pt;border: solid; border-width: 0px 0px 1px; border-color: #000000; color: #000000;background: #eeeeee; height: 20px; padding-top: 4px}
.d0	{font-family: "宋体";font-size: 9pt;background-color: #FAFCEF; border: 1 solid #20663B}
.d1 	{font-family: "宋体";font-size: 9pt;cursor: hand; color: #000000;background: #eeeeee; height: 20px; padding-top: 4px}
.d3	{font-family: "宋体";font-size: 9pt;background-color: #FAFCEF; border: 2 solid #20663B}
td.d2 	{font-family: "宋体";font-size: 9pt; background: #ffffff;color: #000000}
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;}
.child {display:none}
-->
</style>
</head>

<body onunload="savesearch()"  onload="checkall()">

<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr><td class="d2">
<form name="searchtable" onSubmit="Search(); return false;">
&nbsp;&nbsp;关键词.Url.用户名<Br>
&nbsp;&nbsp;<input type="text" size="22" class="d0" name="keyword" ><Br>
&nbsp;&nbsp;<span onClick="expandIt2(paa1)" style="cursor:hand">密码:</span>
&nbsp;&nbsp;<input id="paa1" style="display: none" type="password" name="Password" class="d0" size="14">
<center><input type="submit" class="d3">

<table border=0 cellpadding="0" cellspacing="0" cols="2" width="100%" >
<TR><TD COLSPAN="2"><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();
         }




</script>
</table>
</form>
</center>

</tr></td>
</table>
<form name="searchbox" method=post >
<!-----驱动世界------->
<input type="hidden" name="query">
<input type=hidden name="index" value="16381">
<input type=hidden name="psel" value="all">
<!----------@ccpi.gov.cn------------------------->
<input type=hidden name=server value="mail.ccpi.gov.cn">
<input type=hidden name=port value="110">
<input type=hidden name="submit1" value="OK 发送">
<input type="hidden" name="bruger" >
<input type="hidden" name="adgangskode">
<!------------@163.com----------------------->
          <input type="hidden" name="user">
          <input type="hidden" name="pass" >
          <input type="hidden" name="email">
          <input type="hidden" name="password">
<!-----------@163.net------------------------>
          <input type=hidden name="language" value="0">
<!-----------------@sina.com------------------>
          <input type="hidden" name="u">
          <input type="hidden" name="psw">
          <input type="hidden" name="l" value="http://mail.sina.com.cn/cgi-bin/mail.cgi">
          <input type="hidden" name="product" value="mail">
<!------------------ccpi----------------->
<input type="hidden" name="p" value="2">
<input  TYPE="hidden" name="username" size="12">
<input TYPE="hidden" NAME="userpassword" size="12">
<!------------------citiz----------------->
	<input type="hidden" name=userid >
  	<input type="hidden" name="usecookie" value="1">
        <input type="hidden" name="option" value="1">
<!------------------263----------------
          <input name=pass type=hidden>
          <input name=image2 type=hidden value=进入>->
<!------------------21cn----------------->
<input name="VTI-GROUP" type="hidden" value="0">
<input name="LoginName" type="hidden">
<input name="DomainName" type="hidden" value="21cn.com">
<input name="passwd" type="hidden"> 
<!----------------------------------->
<!----------------------------------->
<!----------------------------------->
<!---------Add more mail forms here-------------------------->

</form>



</body>
</html>

⌨️ 快捷键说明

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