开发者

Graphical Countdown in Jquery/Javascript/ASP.NET

开发者 https://www.devze.com 2022-12-23 06:01 出处:网络
Hi designers/developers, I am looking for a way of graphically showing a countdown. I am working for a large Hospital and have written an Ambulance page that shows ambulance arriving in a datagrid wit

Hi designers/developers, I am looking for a way of graphically showing a countdown. I am working for a large Hospital and have written an Ambulance page that shows ambulance arriving in a datagrid with the time of arriving at the hospital in minutes and seconds (plus other info). They have asked me for somehow visually representing the information, so it fits with there other visually appealing Emergency Department web application (e.g. progress bar or something better):

1) Can so开发者_C百科mebody show me (visually appealing) design examples on how this could be done 2) Are there solutions in .Net (ASP.net or JQuery or Javascript) since this is our preferred technology

Thanks so much!


Here is a jquery example: http://keith-wood.name/countdown.html


Off the top of my head:

Represent the ambulance time as a colored div. Then every second or two (via setTimeout() in javascript) readjust the width of the bar and/or change the style as you reach certain time thresholds (ie; 5m left bar goes from yellow to green).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号