|
以下是段测试代码,可我在发贴时这段代码不起感化,起不到测试的作用? 显示的仍是代码,不知为何? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=gb2312"> <STYLE type=text/css>BODY { FONT-SIZE: 14px; FONT-FAMILY: "宋体","Arial Narrow","Times New Roman" } TD { FONT-SIZE: 14px; FONT-FAMILY: "宋体","Arial Narrow","Times New Roman" } A:link { COLOR: #ffffff; TEXT-DECORATION: none } A:visited { COLOR: #ffffff; TEXT-DECORATION: none } A:hover { COLOR: #66ff66; TEXT-DECORATION: none } </STYLE> <META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD> <BODY text=#000000 vLink=#cc33ff aLink=#ffff66 link=#cc33ff bgColor=#cc99ff> <TABLE height=400 cellSpacing=0 cellPadding=0 width=400 align=left border=0> <TBODY> <TR> <TD height=81> <TABLE cellSpacing=0 cellPadding=0 width=85 align=center border=0> <TBODY> <TR> <TD><IMG height=80 src="../img/xinliceshi.gif" width=300></TD> </TR></TBODY></TABLE></TD></TR> <TR> <TD height=483> <TABLE height=100 cellSpacing=0 cellPadding=0 width=546 align=left bgColor=#ffffff> <TBODY> <TR> <TD width=1 bgColor=#cc99ff height=17> </TD> <TD width=29 bgColor=#cc99ff height=17> </TD> <TD width=478 bgColor=#cc99ff height=17><IMG height=14 src="../img/ag04.gif" width=464></TD> <TD width=30 bgColor=#cc99ff height=17> </TD> </TR> <TR> <TD width=1 bgColor=#cc99ff height=18> </TD> <TD width=29 height=18><IMG height=22 src="../img/di2_r1_c12.gif" width=29 align=bottom></TD> <TD width=478 height=18> </TD> <TD width=30 background=../%D0%C4%C0%ED%B2%E2%CA%D4l.files/xinlli1.files/di2_r1_c33.gif bgColor=#cc99ff height=18> <DIV align=right><img height=22 src="../img/di2_r1_c33.gif" width=29 align=bottom></DIV></TD> </TR> <TR> <TD width=1 bgColor=#cc99ff height=229> </TD> <TD width=29 height=229> </TD> <TD width=478 height=229> <title>情爱测试:猜想年纪_测试空间_流云飞雪</title> <link rel="stylesheet" href="/titlestyle.css"> <SCRIPT><!-- function processForm(form){ if (form.c1[0].checked==1) form.answer.value="你心中的爱是有一点义务跟贡献,在人不知鬼不觉中,你会碰上比你年轻或者须要你辅助的对象。"; if (form.c1[1].checked==1) form.answer.value="你憧憬纯洁的恋情,也器重彼此的同等,同春秋或者差一两岁的异性,以及布景类似的人最合适你。"; if (form.c1[2].checked==1) form.answer.value="你爱情的对像,要有物资上的前提及成婚的可能,才会被你列进斟酌的范围。"; if (form.c1[3].checked==1) form.answer.value="你对恋爱有许很多多的向往,把对方当成偶像,盼望从中取得保险感,要警惕成为圈外人。"; } //--></SCRIPT> <form name="see"> <div align="center"><center><table border="0" cellpadding="10" cellspacing="0" width="586" height="1" bgcolor="#FFFFFF"> <tr> <TD width="100%"> <DIV align=left> <P><SPAN style="FONT-SIZE: 9pt; LINE-HEIGHT: 20px">公园的长凳上分坐着一男一女,瞧样子他们都在约会等家伙,你以为他们行将倒来的恋人会是什么年事?</SPAN></P></DIV> <DIV align=left> <P><SPAN style="FONT-SIZE: 9pt; LINE-HEIGHT: 20px"><INPUT name=c1 type=radio value=1>比男女主角年青,皇冠代理。<BR><INPUT name=c1 type=radio value=2>和男女主角年年纪差未几。<BR><INPUT name=c1 type=radio value=3>比男女主角年纪年夜一点。<BR><INPUT name=c1 type=radio value=4>比男女主角年纪大良多。</SPAN></P></DIV> <P><INPUT onclick=processForm(this.form) style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt" type=button value=已选好,看看论断,宝马会娱乐城!> <INPUT onclick=processForm(this.form) style="FONT-FAMILY: 宋体; FONT-SIZE: 9pt" type=reset value=从新选!></P> <P><TEXTAREA cols=48 name=answer rows=5 style="COLOR: rgb(255,0,0); FONT-FAMILY: 宋体; FONT-SIZE: 9pt; LINE-HEIGHT: 15px" wrap=virtual></TEXTAREA></P></TD> </tr> </table> </center></div> </form> </TD> <TD width=30 height=229> </TD> </TR> <TR> <TD width=1 bgColor=#cc99ff height=13> </TD> <TD width=29 height=13><IMG height=21 src="../img/di2_r3_c12.gif" width=29 align=top></TD> <TD width=478 height=13> </TD> <TD width=30 background="" bgColor=#cc99ff height=13><IMG height=21 src="../img/di2_r3_c32.gif" width=29 align=textTop></TD> </TR> <TR> <TD width=1 bgColor=#cc99ff height=13> </TD> <TD width=29 bgColor=#cc99ff height=13> </TD> <TD width=478 bgColor=#cc99ff height=13><IMG height=14 src="../img/ag04.gif" width=464></TD> <TD width=30 bgColor=#cc99ff height=13> </TD> </TR> <TR> <TD width=1 bgColor=#cc99ff height=18> </TD> <TD width=29 bgColor=#cc99ff height=18> </TD> <TD width=478 bgColor=#cc99ff height=18> </TD> <TD width=30 bgColor=#cc99ff height=18> </TD> </TR> <TR> <TD width=1 bgColor=#cc99ff height=65> </TD> <TD width=29 bgColor=#cc99ff height=65> </TD> <TD width=478 bgColor=#cc99ff height=65> <TABLE borderColor=#cc66ff height=60 cellSpacing=0 borderColorDark=#ffccff cellPadding=0 width=468 borderColorLight=#ccccff border=0> <TBODY> <TR borderColor=#9900ff> <TD height=47> </TD> </TR> </TBODY> </TABLE></TD> <TD width=30 bgColor=#cc99ff height=65> </TD> </TR> <TR> <TD width=1 bgColor=#cc99ff height=17> </TD> <TD bgColor=#cc99ff colSpan=3 height=17> <DIV align=center><IMG height=35 src="../img/backsun.gif" width=46><FONT class=ui_engl color=#ffffff>Copyright © 2011</FONT><FONT class=ui_engl><FONT color=white>烟雨女人网</FONT><FONT color=#ff0000><STRONG><a href="http"><font color="#FFFFFF"></font></a></STRONG></FONT><a href="FONT color=#ffffff>女人社区</FONT></a><FONT color=#ffffff>. All rights reserved. <script>var tc_user="nvrenjk.com";var tc_class="2";</script> </FONT></FONT></DIV></TD> </TR> </TBODY> </TABLE></TD></TR></TBODY></TABLE><BR> <SCRIPT language=JavaScript1.2> <!-- var no = 25; var speed = 10; var snowflake = "../img/heart.gif"; var ns4up = (document.layers) ? 1 : 0; var ie4up = (document.all) ? 1 : 0; var dx, xp, yp; var am, stx, sty; var i, doc_width = 800,新全讯网, doc_height = 600; if (ns4up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx = new Array(); xp = new Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); for (i = 0; i < no; ++ i) { dx = 0; xp = Math.random()*(doc_width-50); yp = Math.random()*doc_height; am = Math.random()*20; stx = 0.02 + Math.random()/10; sty = 0.7 + Math.random(); if (ns4up) { if (i == 0) { document.write("<layer name=\"dot"+ i +"\" left=\"15\" "); document.write("top=\"15\" visibility=\"show\"><img src=\""); document.write(snowflake + "\" border=\"0\"></layer>"); } else { document.write("<layer name=\"dot"+ i +"\" left=\"15\" "); document.write("top=\"15\" visibility=\"show\"><img src=\""); document.write(snowflake + "\" border=\"0\"></layer>"); } } else if (ie4up) { if (i == 0) { document.write("<div id=\"dot"+ i +"\" style=\"POSITION: "); document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "); document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\""); document.write(snowflake + "\" border=\"0\"></div>"); } else { document.write("<div id=\"dot"+ i +"\" style=\"POSITION: "); document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "); document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\""); document.write(snowflake + "\" border=\"0\"></div>"); } } } function snowNS() { // Netscape main animation function for (i = 0; i < no; ++ i) { // iterate for every dot yp += sty; if (yp > doc_height-50) { xp = Math.random()*(doc_width-am-30); yp = 0; stx = 0.02 + Math.random()/10; sty = 0.7 + Math.random(); doc_width = self.innerWidth; doc_height = self.innerHeight; } dx += stx; document.layers["dot"+i].top = yp; document.layers["dot"+i].left = xp + am*Math.sin(dx); } setTimeout("snowNS()", speed); } function snowIE() { // IE main animation function for (i = 0; i < no; ++ i) { // iterate for every dot yp += sty; if (yp > doc_height-50) { xp = Math.random()*(doc_width-am-30); yp = 0; stx = 0.02 + Math.random()/10; sty = 0.7 + Math.random(); doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx += stx; document.all["dot"+i].style.pixelTop = yp; document.all["dot"+i].style.pixelLeft = xp + am*Math.sin(dx); } setTimeout("snowIE()", speed); } if (ns4up) { snowNS(); } else if (ie4up) { snowIE(); } //--> </SCRIPT> </BODY></HTML> (责任编辑:admin) |
