upload_progress example

b.candler at pobox.com b.candler at pobox.com
Sun Sep 16 08:14:29 EDT 2007


Since mrblog is now out of sync with trunk, I distilled out of it just the 
minimum parts for having upload progress display on file uploads. 

I also took the liberty of inverting the way the iframe was used: now the 
iframe contains the progress display, rather than being the target of the 
form post. This makes more sense to me, as you may wish to separate visually 
the progress display anyway, and it also means that completion of upload can 
render a completely new page. This works with Firefox, but I've not tested 
it with any other browsers. 

The short tarball is attached in case it's of use to anyone else. 

Regards, 

Brian. 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: upload_progress.tgz
Type: application/octet-stream
Size: 16738 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/merb-devel/attachments/20070916/1c09054c/attachment.obj 


More information about the Merb-devel mailing list