CnBlogs.Com用到的CSS控制的代码折叠
来源: 录入时间:07-06-09 21:38:22
CnBlogs.Com用到的CSS控制的代码折叠功能测试 跟帖关闭调用页面close.htm代码如下: <html> <head> <meta http-equiv="content-type" content="text/html; charset=gb2312"> </head> <body> <script language="javascript"> //控制列表关闭的代码 var parentfollow=parent.document.getelementbyid("follow356") var parentfollowtd=parent.document.getelementbyid("followtd356") var parentfollowimg=parent.document.getelementbyid("followimg356") if(parentfollow) { parentfollow.style.display="none"; } parentfollowtd.style.display="none"; parentfollowimg.innerhtml='<a href="open.htm" target="hiddenframe" title="展开帖子列表" ><img src="plus.gif" border="0" ></a>'; </script> </body> </html>
上一篇文章: 下一篇文章: