您的位置:首页 > 其它

嵌入一个DATALIST实现滚动新闻

2007-11-02 17:33 363 查看

<TABLE id="Table4" cellSpacing="0" cellPadding="0" width="100%" border="0">


<TR>


<TD width="28%" height="23" style="HEIGHT: 23px" colSpan="3"> <FONT face="宋体">


<MARQUEE onmouseover="this.stop()" style="WIDTH: 720px; HEIGHT: 39px" onmouseout="this.start()"


scrollAmount="3" scrollDelay="50" direction="left">


<asp:datalist id="DataList1" runat="server" Font-Size="12px" RepeatDirection="Horizontal" Width="376px">


<ItemTemplate>


<P style="FONT-WEIGHT: bold; COLOR: red">


 | 




<asp:HyperLink id=hlText runat="server" Font-Size="12px" text='<%# DataBinder.Eval(Container, "DataItem.title") %>' NavigateUrl='<%...# "admin_SeeNews.aspx?title="+DataBinder.Eval(Container, "DataItem.title") %>' Target="mainFrame">


</asp:HyperLink> |


</P>


</ItemTemplate>


</asp:datalist>


</MARQUEE>


</FONT><SPAN class="gro" id="t"><FONT face="宋体"></FONT></SPAN> 


</TD>


</TR>


</TABLE>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: