programming a stopwatch
i would like to make a site that is like this one:
http://www.o开发者_C百科nline-stopwatch.com/
i know a vb.net and little bit of everything else and am wondering what is the best platform to use to make this and how i can start to make this stopwatch?
I'd use javascript. There is nothing here that is so fancy that it can't be done completely on the client side.
The link posted was coded using Flash.
The reason it works well, is that it does not have to postback to the server. All of the work is done client-side.
Something similar could be done using Javascript and HTML as that is a client-side technology.
ASP.NET is a server-side technology. It may be possible to use an ASP.NET AJAX Asynchronous timer to accomplish something similiar, however, due to the fact that it would have to postback to the server, it certainly would not be as smooth as the client-side technologies.
I would recommend that you do it in Flash. Would probably be much more accurate than doing it within the browser with javascript.
They are using adobe Flash. So you could use that.
VB.NET and ASP.NET won't really help you as this is all would have to be done client-side.
精彩评论