📄 spelltester.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>SpellTester</title>
<SCRIPT language="JavaScript"><!--
var OrigTxt; // Original Text
var CorrTxt; // Corrected Text
function ResetText(txt) {
// the following statement needs to be:
// document.(FORM's NAME).(Name of Box being corrected).value = CorrTxt;
// The form name and box name is CASE SENSITIVE!
document.Test.TextArea1.value = txt;
mywindow.close();
}
function noChange() {
mywindow.close();
}
function newWindow() {
// the following statement needs to be:
// OrigTxt = document.(FORM's NAME).(Name of Box being corrected).value;
// The form name and box name is CASE SENSITIVE!
OrigTxt = document.Test.TextArea1.value;
mywindow=open('SpellCheck.asp','SpellChecker','resizable=yes,scrollbars=yes,width=580,height=480');
mywindow.location.href = 'SpellCheck.asp';
if (mywindow.opener == null) mywindow.opener = self;
}
//--></SCRIPT>
</head>
<body>
<form name="Test" method="post">
<P>This is a CDYNE test page for Spell Checking.</P>
<P>
<textarea rows="20" name="TextArea1" cols="62" ID="Textarea1"></textarea> </P>
<P></P>
<p><input type="button" value="Spell Check" onClick="newWindow()" ID="Button1" NAME="Button1"></p>
<P><a href="http://www.cdyne.com/files/SpellCheckerASP.zip">Download the Code behind these pages.</a>
<BR>
This will only download ASP components to access CDYNE's Spelling Pop-up.</P>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -