<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0032)http://www.ie-zone.com/index.php -->
<HTML>
<!-- #BeginTemplate "/Templates/Js.dwt" -->
<HEAD>
<!-- #BeginEditable "doctitle" -->
<TITLE>查找页面关键字</TITLE>
<!-- #EndEditable -->
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="../../fav.ico" rel="shortcut icon">
<STYLE type=text/css>BODY {
MARGIN: 25px 25px 25px
}
#all TD {
FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"
}
INPUT {
FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"
}
SELECT {
FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"
}
P {
FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"
}
TEXTAREA {
FONT-SIZE: 12px; LINE-HEIGHT: 15px; FONT-FAMILY: "Verdana", "Arial","新宋体", "宋体"
}#all A:active {
COLOR: #7d070c
}
#all A:visited {
COLOR: #7d070c
}#all A:hover {
COLOR: #336699
}
#all A:link {
COLOR: #7d070c
}
</STYLE>
<SCRIPT language=JavaScript>
<!--function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function JM_cc(ob){
var obj=MM_findObj(ob); if (obj) {
obj.select();js=obj.createTextRange();js.execCommand("Copy");}
}function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
//-->
</SCRIPT>
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
</HEAD>
<BODY id=all text=#000000 bgColor=#336699>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR bgColor=#ffffff>
<TD><IMG src="../images/sq_1.gif" width=11 height="14"></TD>
<TD width="100%"></TD>
<TD><IMG src="../images/sq_2.gif" width=11 height="14"></TD>
</TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR bgColor=#ffffff>
<TD><IMG src="../../images/space.gif" width=11 height="1"></TD>
<TD width="100%">
<table width="100%" border="0" cellpadding="8">
<tr>
<td align="center">
<script language="JavaScript">
document.write("<font color=#7d070c style=\"font-size: 14px\">"+document.title+"</font>");
</script>
</td>
</tr>
<tr>
<td bgcolor="#f7f7f7"><!-- #BeginEditable "example" -->
<script language="JavaScript">/*
Find In Page Script-
By Mike Hall ([email protected])
Permission granted to Dynamicdrive.com to feature script in archive
For full source code, visit http://dynamicdrive.com
*/var NS4 = (document.layers); // Which browser?
var IE4 = (document.all);var win = window; // window to search.
var n = 0;function findInPage(str) { var txt, i, found; if (str == "")
return false; // Find next occurance of the given string on the page, wrap around to the
// start of the page if necessary. if (NS4) { // Look for match starting at the current point. If not found, rewind
// back to the first match. if (!win.find(str))
while(win.find(str, false, true))
n++;
else
n++; // If not found in either direction, give message. if (n == 0)
alert("Not found.");
} if (IE4) {
txt = win.document.body.createTextRange(); // Find the nth match from the top of the page. for (i = 0; i <= n && (found = txt.findText(str)) != false; i++) {
txt.moveStart("character", 1);
txt.moveEnd("textedit");
} // If found, it and scroll it into view. if (found) {
txt.moveStart("character", -1);
txt.findText(str);
txt.select();
txt.scrollIntoView();
n++;
} // Otherwise, start over at the top of the page and find first match. else {
if (n > 0) {
n = 0;
findInPage(str);
} // Not found anywhere, give message. else
alert("Not found.");
}
} return false;
}</script>
<form name="search" onSubmit="return findInPage(this.string.value);">
<font size=3>
<input name="string" type="text" size=15 onChange="n = 0;">
</font>
<input type="submit" value="查找" name="submit">
</form>
<br>
提示:请输入关键字后按查找,试试body <!-- #EndEditable --></td>
</tr>
<tr>
<td><!-- #BeginEditable "code" -->1.将下面的代码复制到 <body> 内
<input type="button" name="Button" value="复制到我的剪贴板" onClick=JM_cc('js_1')>
<br>
<form name="form1" method="post" action="">
<textarea name="js_1" wrap="VIRTUAL" cols="80" rows="10"><script language="JavaScript">/*
Find In Page Script-
By Mike Hall ([email protected])
Permission granted to Dynamicdrive.com to feature script in archive
For full source code, visit http://dynamicdrive.com
*/var NS4 = (document.layers); // Which browser?
var IE4 = (document.all);var win = window; // window to search.
var n = 0;function findInPage(str) { var txt, i, found; if (str == "")
return false; // Find next occurance of the given string on the page, wrap around to the
// start of the page if necessary. if (NS4) { // Look for match starting at the current point. If not found, rewind
// back to the first match. if (!win.find(str))
while(win.find(str, false, true))
n++;
else
n++; // If not found in either direction, give message. if (n == 0)
alert("Not found.");
} if (IE4) {
txt = win.document.body.createTextRange(); // Find the nth match from the top of the page. for (i = 0; i <= n && (found = txt.findText(str)) != false; i++) {
txt.moveStart("character", 1);
txt.moveEnd("textedit");
} // If found, it and scroll it into view. if (found) {
txt.moveStart("character", -1);
txt.findText(str);
txt.select();
txt.scrollIntoView();
n++;
} // Otherwise, start over at the top of the page and find first match. else {
if (n > 0) {
n = 0;
findInPage(str);
} // Not found anywhere, give message. else
alert("Not found.");
}
} return false;
}</script><form name="search" onSubmit="return findInPage(this.string.value);">
<font size=3><input name="string" type="text" size=15 onChange="n = 0;"></font>
<input type="submit" value="Find">
</form></textarea>
</form>
<!-- #EndEditable --></td>
</tr>
</table>
</TD>
<TD><IMG src="../../images/space.gif" width=11 height="1"></TD>
</TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR bgColor=#ffffff>
<TD><IMG src="../images/sq_3.gif" width=11 height="14"></TD>
<TD width="100%"></TD>
<TD><IMG src="../images/sq_4.gif" width=11 height="14"></TD>
</TR>
</TABLE>
</BODY>
<!-- #EndTemplate -->
</HTML>
我要把有限的生命投入到无限的为人民回贴事业中去!
谁会申请域名?帮我申请一个,最好是www.meixx.com/net/org,不要二级和三级的!
还有好的免费空间,谁知道?帮忙啊!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货