[求助]关于公告栏不滚动的问题
问题1:公告不滚动.问题2:如何使得鼠标悬停时公告不动,移开时,继续滚动.
大家帮我看看我的代码,我是放在DIV中的TABLE的TD中的.用的是dataview,滚动多少条信息是dataview确定,还是怎样确定.
新人就是问题多,不要介意.谢谢大家!
<marquee direction="up" scrolldelay="500" width="319">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
DataKeyNames="bullID" DataSourceID="SqlDataSource1" Style="position: relative"
Width="319px" ShowHeader="False" PageSize="5" BorderWidth="0px">
<Columns>
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<img src="../images/erjixiaobiao.gif" style="position: relative" width="11" />
</ItemTemplate>
<ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
</asp:TemplateField>
<asp:HyperLinkField DataTextField="title" ShowHeader="False" DataNavigateUrlFields="bullID" DataNavigateUrlFormatString="showContext.aspx?bullID={0}" Target="_blank" />
<asp:TemplateField>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Style="position: relative" Text='<%# Eval("input_time", "{0:d}") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<RowStyle HorizontalAlign="Left" VerticalAlign="Top" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NetEduSystemConnectionString %>"
SelectCommand="SELECT [bullID], [title], [input_time] FROM [bulletin] ORDER BY [input_time] DESC, [bullID] DESC">
</asp:SqlDataSource>
</marquee>