<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<SCRIPT>
function Preview(obj)
{
var TestWin=open('');
TestWin.document.write(obj.value);
}
function copyCode(obj) {
var rng = document.body.createTextRange();
rng.moveToElementText(obj);
rng.scrollIntoView();
rng.select();
rng.execCommand("Copy");
rng.collapse(false);
}
function saveCode(obj) {
var winname = window.open('', '_blank', 'top=10000');
winname.document.open('text/html', 'replace');
winname.document.writeln(obj.value);
winname.document.execCommand('saveas','','homepage.yesky.com.htm');
winname.close();
}
</SCRIPT>
<TEXTAREA id=code2 style="WIDTH: 570px; HEIGHT: 244px" rows=15 cols=47>欢迎访问名扬互联<hr size="1" noshade="noshade" style="border:1px #cccccc dotted"/></TEXTAREA><BR><BUTTON onclick=Preview(code2)>运行代码</BUTTON><BUTTON onclick=copyCode(code2)>复制代码</BUTTON><BUTTON onclick=saveCode(code2)>另存代码</BUTTON>
</div></font>
</body>
</html>