Along the same lines, I wonder what would be the best way to have a progress indicator when loading _javascript_ files. Prototype + Scriptaculous can get quite heavy. Is there a way to load the minimum required JS then display a progress wheel or something while the rest of the JS files are being loaded? Has anybody implmented somehting along these lines?
Tench
On 01. April 2006., at 10:37, Daniel Elmore wrote: From my understanding, it isn’t too hard to create your own progress reader. When a file is submitted a HTTP Header “Content-Length” is sent, which tells the size of the file in bytes. Then you can repeatedly check the upload status by getting the file size from the OS temp directory. All you need is the total file size and the current file size to create a little percentage bar.
This has been done in ColdFusion very easily. Don’t know if .NET is going to be painless.
-Daniel
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jim Geurts Sent: Saturday, April 01, 2006 2:28 AM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs] File upload progress bar
And of course it appears that MS and asp.net just blows for that kind of stuff. Thanks for the info anyway.
_______________________________________________ Rails-spinoffs mailing list
|
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs