如何制作动态进度条 [英] How TO MAKE dyanmic progressbar

查看:147
本文介绍了如何制作动态进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想做一个活动策划人...

这样做时,我在开发事件查看器页面时遇到了问题....
根据
在哪个空间上可以用任何颜色填充 事件的持续时间....
我的意思是说:

如果任何事件(例如EventTitle:Shopping Category:personal)的持续时间是从上午8点到上午11点,则该列将用任何颜色填充,假设红色为
并且如果从下午1点到下午5点还有另一个事件(例如,Eventtitle:Teaching Category:school),则下午1点到5pm之间的时间将用绿色填充.

我有点困惑我应该使用什么控件来完美地开发它.

请提出建议.

I want to make an event planner ...

While doing so, I am facing problem to develop an event viewer page....
on which space will be filled by any color according to the
duration of an event....
I mean to say:

If any event''s (eg. EventTitle:Shopping Category:personal) duration is 8am to 11am then the column gets filled by any color suppose red,
and if the there is another event (eg. Eventtitle:Teaching Category:school) from duration 1pm to 5pm then the length occupied between 1 pm to 5pm gets filled by green color.

I am little bit confused what control should i use to develop this in perfect manner.

pls suggest something.

推荐答案

[ ^ ]可能会有所帮助.
This[^] may help.


确定要给哪个颜色的持续时间.

找出活动的持续时间.

然后根据持续时间设置进度条的背景颜色,很可能是div带有该持续时间的颜色.
Decide for which duration which color you want to give.

Find out the duration of the event.

And then depending on the duration set the background color of progress bar most probably div with the color for that duration.


这篇关于如何制作动态进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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