一个很爽的公告栏

发布时间:2008-12-19 19:30:00 阅读次数:

要完成此效果需要三个步骤 第一步:把如下代码加入到区域中 <script LANGUAGE="JavaScript"> </script> 第二步:把如下代码加入到区域中
<script language="JavaScript"> if (document.layers) document.write(singletext[0]) </script> <script language="JavaScript"> if (document.all){ document.writeln('
') document.writeln('
') document.write(singletext[0]) document.writeln('
') } if(document.getElementById&&!document.all){ document.writeln('
') document.writeln('
') document.write(singletext[0]) document.writeln('
') } </script>
第三步:把“onLoad="start()"”加在标记里 例如: