你到底要什么?从数据库中读一段东西出来然后滚动?
那就是这个样子
<script language=javascript>document.write ("<marquee scrollamount='1' scrolldelay='30' direction= 'UP' width='200' id='helpor_net' height='150' onmouseover='stop()' onmouseout='start()'>")document.write ("<h2><p align='center'><font color='#ffffff' face='黑体'>这里放后台语言的输出语句,输出你要显示的内容</font></h2>")
document.write ("</marquee> ")
</script>
那就是这个样子
<script language=javascript>document.write ("<marquee scrollamount='1' scrolldelay='30' direction= 'UP' width='200' id='helpor_net' height='150' onmouseover='stop()' onmouseout='start()'>")document.write ("<h2><p align='center'><font color='#ffffff' face='黑体'>这里放后台语言的输出语句,输出你要显示的内容</font></h2>")
document.write ("</marquee> ")
</script>
而且没有循环吗。你到底是不是动态程序
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>{newstitle}</title><link rel="stylesheet" type="text/css" href="../../inc/default.css"></head><body topmargin="0" leftmargin="0" ><TABLE cellSpacing=0 cellPadding=0 width=740 align=center border=0>
<TBODY>
<TR>
<TD><IMG height=60 src="../../images/top.jpg" width=740></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=3 width=740 align=center border=0>
<TBODY>
<TR>
<TD bgColor=#ff9900 height=10><FONT color=#000000>当前位置:<A href="#">首页</A> — <A href="../../newsweb/newsassort.asp?Assort_name=%BD%B9%B5%E3%D0%C2%CE%C5&Assort_id=1">政务公开</A> — {newstitle} </FONT></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=740 align=center border=0>
<TBODY>
<TR>
<TD vAlign=top align=middle width=170 bgColor=#e9dcaf>
<TABLE cellSpacing=0 cellPadding=3 width=168 border=0>
<TBODY>
<TR>
<TD align=middle width=162 bgColor=#e6120d height=20><FONT color=#000000>新闻搜索</FONT></TD></TR>
<FORM name=form1 action=../../newsweb/newssearch.asp method=post target=_blank>
<TR>
<TD width=162 bgColor=#e9dcaf height=1><BR>请输入要搜索的内容:<BR><INPUT size=15 name=newskeyword> <INPUT type=submit value=搜索 name=B1> <BR> </TD></TR></FORM></TBODY></TABLE>{newslink}</TD>
<TD vAlign=top width=569 bgColor=#ffffff height=400>
<TABLE cellPadding=3 width="100%">
<TBODY>
<TR>
<TD vAlign=top>
<TABLE cellSpacing=2 cellPadding=1 width="100%" border=0>
<TBODY>
<TR>
<TD align=middle bgColor=#e6120d height=22> <FONT color=#ffffff size=3><B>{newstitle}</B></FONT></TD></TR></TBODY></TABLE>{newscontent}</TD></TR>
<TR>
<TD vAlign=top bgColor=#e9dcaf>{newsfrom}{newsdate}</TD></TR></TBODY></TABLE></TD>
<TD width=1 bgColor=#000000></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=3 width=740 align=center border=0>
<TBODY>
<TR bgColor=#edeed4>
<TD align=left width=653 bgColor=#e6120d>
<P align=center><FONT color=#ffffff> </FONT></P></TD></TR></TBODY></TABLE>
<SCRIPT>
window.defaultStatus = " ...新闻系统... "
</SCRIPT></body></html>
{newsdate}这样的东西实际上只是一个参数符号,应该是运行的时候替换解释执行,你必须找到全套的程序