06-07-2004, 21:06
|
#42 (permalink)
|
|
Registered User
Join Date: Jul 2004
Location: Central Texas
Posts: 9
|
Just comment it out in the HTML, it'll still work. That's the easiest way. Like so:
Quote:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Documentation Audit</title>
<meta http-equiv="Content-Type" content="text/xml; charset=iso-8859-1" />
<link href="allstyle.css" rel="stylesheet" type="text/css" />
<!-- <script type="text/javascript">
<!-- Begin
var NS4 = (document.layers);
var IE4 = (document.all);
var win = this;
var n = 0;
http://www.thewebmachine.com/
theWebMachine - Your guide through Adobe WebCollection!
function findInPage(str) {
var txt, i, found;
if (str == "")
return false;
if (NS4) {
if (!win.find(str))
while(win.find(str, false, true))
n++;
else
n++;
if (n == 0) alert(str + " was not found on this page.");
}
if (IE4) {
txt = win.document.body.createTextRange();
for (i = 0; i <= n && (found = txt.findText(str)) != false; i++) {
txt.moveStart("character", 1);
txt.moveEnd("textedit");
}
if (found) {
txt.moveStart("character", -1);
txt.findText(str);
txt.select();
txt.scrollIntoView();
n++;
}
else {
if (n > 0) {
n = 0;
findInPage(str);
}
else
alert(str + " was not found on this page.");
}
}
return false;
}
// End -->
</script> //-->
</head>
|
|
|
|
|