在ASP.NET中滚动文本 [英] Scrolling text in ASP.NET

查看:132
本文介绍了在ASP.NET中滚动文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的门户网站上显示滚动/移动文本.Web门户网站由asp.net,C#,Sql组成。如何做到这一点?我是否需要为此下载任何javascript文件?它是如何安全的?无法在我的html控制套件中看到选框控件。



我尝试了什么:



I want to show scrolling/moving text in my web portal.Web portal is made of asp.net,C#,Sql.How to do that?Do I need to download any javascript file for this?How it is safe?Unable to see marquee control in my html control kit.

What I have tried:

<div style="width: 927px; background-color: #FFFF00;">
          <marquee direction="left"> Simple Marquee Text(Left Direction)</marquee>
      </div>
      <div style="width: 927px; background-color: #CCFFCC;">
          <marquee direction="right"> Simple Marquee Text(Right Direction)</marquee>
     </div>





获取验证错误:



Getting validation error :

marquee

不受支持.i我正在使用asp.net 4.0框架。

is not supported.i am using asp.net 4.0 framework.

推荐答案

你可以使用jQuery轻松完成。只是谷歌jquery自动滚动div
You can do this very easily with jQuery. Just Google "jquery auto scrolling div"


检查这个

支持CSS3的jQuery Marquee插件 [ ^ ]


也可以看看:



[ ^ ]


这篇关于在ASP.NET中滚动文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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