逐个显示数字 [英] display digits one by one
问题描述
我正在使用asp.net网页,C#并提前面临挑战:
我有一个6位数的字符串。我想找到一些在屏幕上逐个显示这些数字的方法。我打算做一些图形操作,让用户产生这些数字生成的错觉,但实际上我已经保存了这个字符串,并希望只显示这些值,每个间隔几秒钟。 $>
这个字符串可以存储在一个向量中,并且可以创建一个贯穿向量的方法,然后在每个位置进行拾取并在屏幕上显示
I'm working with asp.net webpages, C # and have a challenge ahead that is:
I have a string of 6 digits. I want to find some way of presenting these digits one by one on the screen. I intend to do some graphic manipulation that gives the user an illusion that these numbers are being generated,but in reality i have already saved this string and want to only display these values, with an interval of a few seconds each.
This string can be stored in a vector, and can create a method that runs through the vector and go picking at each position and display on screen
推荐答案
同意RelicV。你可以使用jQuery。基本上jQuery执行一些小动画。除此之外,还有一些插件可以简化任务。检查一下。
5个jQuery号码动画插件 [ ^ ],你可以在Google中找到更多信息。
Agree with RelicV. You could use jQuery. Basically jQuery performs some little animation things. Besides there're more than bunch plugins there to simplify the task. Check this one.
5 jQuery Number Animation Plugins[^], you could find more in Google.
这篇关于逐个显示数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!