向上滚动公告板HTML代码 <DIV align=center>公 告 板</DIV></TD></TR></TBODY></TABLE></TD></TR></TABLE> <TABLE height=5 cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE> <TABLE height=97 cellSpacing=1 cellPadding=0 width="92%" align=center bgColor=#000000 border=0> <TBODY> <TR bgColor=#ffffff> <TD height=96><FONT color=#ccccff> <SCRIPT language=JavaScript1.2> var marqueewidth=160 var marqueeheight=95 var speed=1 var marqueecontents='<font color="#000000"> .........................<br> 欢迎光临高家堰镇卫生院网站!<br> .........................<br>  热烈庆祝我院门诊住院部综合楼动工新建!<br> .........................<br> 我们庄严宣誓:面对召唤,责无旁贷;面对危险,决不退缩;面对困难,勇往直前。我们愿以血肉之躯,筑起一道“救死扶伤”的钢铁长城,夺取这场抗击“非典”战斗的全面胜利! <br> .........................<br> </font>' if (document.all) document.write('<marquee direction="up" scrollAmount='+speed+' style="width:'+marqueewidth+';height:'+marqueeheight+'">'+marqueecontents+'</marquee>') function regenerate(){ window.location.reload() } function regenerate2(){ if (document.layers){ setTimeout("window.onresize=regenerate",450) intializemarquee() } } function intializemarquee(){ document.cmarquee01.document.cmarquee02.document.write(marqueecontents) document.cmarquee01.document.cmarquee02.document.close() thelength=document.cmarquee01.document.cmarquee02.document.height scrollit() } function scrollit(){ if (document.cmarquee01.document.cmarquee02.top>=thelength*(-1)){ document.cmarquee01.document.cmarquee02.top-=speed setTimeout("scrollit()",100) } else{ document.cmarquee01.document.cmarquee02.top=marqueeheight scrollit() } } window.onload=regenerate2 </SCRIPT> </FONT><FONT color=#ccccff> </FONT><FONT color=#ccccff> </FONT><FONT color=#ccccff> </FONT><FONT color=#ccccff> </FONT></TD></TR></TBODY></TABLE></TR></TBODY></TABLE></TR></TBODY></TABLE></TR></TBODY></TABLE> |