如何在C#网站中设置marquee标签? [英] how to set the marquee tag in C# website?

查看:101
本文介绍了如何在C#网站中设置marquee标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< b>< / b>< pre lang =c#>< / pre>< / pre>

<b></b><pre lang="c#"></pre></pre>

推荐答案

marquee控件是一个IE控件。

您可以考虑使用JQuery自动收录器现在 [ ^ ]。
The marquee control is an IE control.
You can consider using the JQuery ticker now[^].


你应该尝试这样的事情



You should try something like this

<asp:label id="Label1" runat="server" text="<marquee>Scrolling text</marquee>" xmlns:asp="#unknown"></asp:label>





谢谢!!



Thanks!!


取一个标签或文字控件并将其设置为



Take a label or literal control and set it Text as

label1.Text="<marquee>your Marquee Text Goes Here</marquee>";


这篇关于如何在C#网站中设置marquee标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆