fingh 发表于 2007-4-27 11:20:01

***文本操作***本站特效的测试html代码的源码(论坛绯雨悠悠提供)

把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<meta content="text/html; charset=gb2312" http-equiv=content-type>
<style>input {
    background-color: white; border-bottom: #999999 1px solid; border-left: #999999 1px solid; border-right: #999999 1px solid; border-top: #999999 1px solid; height: 18px
}
.unnamed1 {font-size: 9pt; color: #000000; text-decoration: none}
</style>
<script>
function runex(){
var winex2 = window.open("", "winex2", "width=500,height=300,status=yes,menubar=no,scrollbars=yes,resizable=yes"); winex2.document.open("text/html", "replace");
winex2.document.write(unescape(event.srcelement.parentelement.children.value));
winex2.document.close();
}
function savefile()
{
var win=window.open('','','top=10000,left=10000');

win.document.write(document.all.asdf.innertext)
win.document.execcommand('saveas','','a.html')
win.close();
}
</script>
<meta content="mshtml 5.00.3315.2870" name=generator>
<title>测试代码</title>
</head>
<body bgcolor=#6699cc scroll=auto text=#000000>
<div align=center>
<p><textarea id=asdf name=textfield rows=20 style="background-color: black; border-bottom: #999999 1px solid; border-left: #999999 1px solid; border-right: #999999 1px solid; border-top: #999999 1px solid; color: white; font-family: verdana; width: 90%" wrap=virtual>

   
design by 绯雨悠悠

      










--------------------------------------

http://www.huoyue.com.cn 活跃网,活跃人群的论坛,访问活跃网,将给您带来意想不到的收获,还可以免费为您开论坛,让您免费拥有与朋友、网友交流的论坛。你是年轻人吗?你活跃你就上!
页: [1]
查看完整版本: ***文本操作***本站特效的测试html代码的源码(论坛绯雨悠悠提供)