我想要为文本添加动画效果的示例代码:(欢迎来到医院管理委员会网站), [英] I want a sample code for animating the text:(WELCOME TO HOSPITALS MANAGEMENT BOARD WEBSITE),

查看:47
本文介绍了我想要为文本添加动画效果的示例代码:(欢迎来到医院管理委员会网站),的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以便用户访问该网站时,动态标题文本将以连续的方式从屏幕的右侧向左侧移动(即Animating).

so that when a user visits the site the dynamic header text will be moving(i.e Animating) from the right side of the screen to the left in a continous fashion.

推荐答案

尝试这个

try this

<MARQUEE>
Welcome To Hospitals Management Board Website
</MARQUEE>



您也可以通过其他方式实现这一目标.但这是最简单的.

如果您有asp或asp.net,也可以使用服务器端标记使文本动态化.像这样



you can also achieve this by other ways. but that is the most easiest one.

If you have asp or asp.net, you can also make the text dynamic by using server side tag. like this

<MARQUEE>
<%Response.Write(GetMyText());%>
</MARQUEE>


看看这些链接;

AC#滚动文本控件 [具有动画效果的OSD窗口,在C#中 [
Have a look at these links;

A C# Scrolling Text Control[^]
OSD window with animation effect, in C#[^]

Not the best one''s though.


这篇关于我想要为文本添加动画效果的示例代码:(欢迎来到医院管理委员会网站),的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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