要完成此效果把如下代码加入到区域中
<script language="JavaScript">
function trestart(){
if (script) {
clear = confirm("你真的确定要关闭吗?",'');
if(clear) {
document.script.reset();
document.script.value = "";
}
}
}
function test(){
{
temp = document.script.tester.value;
testwin= open("", "testwin","status=no,menubar=yes,toolbar=no");
testwin.document.open();
testwin.document.write(temp);
testwin.document.close();
}
}
function about(){
alert("输入HTML代码即可看到效果")
alert("http://typhoon.500.to E-mail:typhoon@huzhoucity.com")
}
function help(){
OpenWindow=window.open("",
"newwin","height=420,width=470,toolbar=no,scrollbars="+scroll+",menubar=no");
OpenWindow.document.write("
帮助信息")
OpenWindow.document.write("
你只要把你想显示的代码放到上页的输入框中,你自己也可以写代码
,按显示键就能显示你的页面内容")
OpenWindow.document.write("
Email
me")
OpenWindow.document.write("
Close this window")
OpenWindow.document.close()
self.name="main"
}
//End hiding-->
</script>