Editor/Dialog/find.htm

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../Css/editor_dialog.css">
<title>查找</title>

<SCRIPT LANGUAGE="JScript.Encode">
var notfirstclick=0;
function gofind(){
	var dirx=-64000;
	if(window.form1.direction[1].checked==true){dirx=64000;}
	if(notfirstclick==1){
		var xz=window.dialogArguments;
		var yz=xz.HtmlEdit.document.selection.createRange();
		if(dirx==64000){yz.collapse(false);}else{yz.collapse(true);}
		yz.select();
	}
	var opsx=0;
	if(window.form1.matchcase.checked==true){opsx=opsx+4;}
	if(window.form1.wholeword.checked==true){opsx=opsx+2;}
	var x=window.dialogArguments;
	var y=x.HtmlEdit.document.selection.createRange();
	var TextValue=window.form1.findtext.value;
	if (TextValue=="") {
       alert("请输入查找内容");
       return false;
	}
	var z=y.findText(TextValue,dirx,opsx);
	if(z==false){alert("查找完毕");}else{y.select();}
	if(notfirstclick==0){notfirstclick=1;}
}

function initmoondowner()
{
  window.form1.findtext.focus();
}

function clearme()
{
	var x=window.dialogArguments;
	x.find_status=0;
}

function bye()
{
	var x=window.dialogArguments;
	x.find_status=0;
	window.close();
}
</SCRIPT>

<link rel="stylesheet" href="editor_dialog.css" type="text/css">
</head>
<body  onLoad="initmoondowner();" onunload="clearme();" onkeydown="if (event.keyCode == 13) return false;" bgcolor=menu>
<form method="POST" name="form1">
  <table border="0" cellpadding="3" cellspacing="0" width="390" align="center">
    <tr>
      <td colspan="2" width="296" valign="middle">查找内容: <input type="text" name="findtext" size="27"></td>
后面还有 22 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。