It’s about 18 months since I released my simple script for creating a prettier way to include multiple file elements on a page. In that time it has remained by far the most popular page on this site, in spite of the fact that I haven’t updated it since and have long since given up trying to keep up with the comments it still generates.
Anyway as a way of getting to know Mootools, I decided to rewrite it to take advantage of the framework. I took the opportunity to clean up the code a bit and make it easier to style the output.
You can find a zip file for MooTools version 1.2 here (included is another zip file with the old, MooTools v1.1 compatible code) with the full annotated source code, also a compressed version (it weighs in at just 2.5K), some simple CSS, an example HTML file and a readme (which is basically identical to the extended comments at the top of the source code).
Demo: http://the-stickman.com/files/mootools/multiupload/
Download: http://the-stickman.com/files/mootools/multiupload/Stickman.MultiUpload.zip
Source: http://the-stickman.com/web-development/javascript/multiple-file-uploader-mootools-version/

Related Listings:
RSS feed for comments on this post. TrackBack URL
January 29th, 2010 at 7:11 pm
[...] 13. Ajaxupdate multi file upload with mootool [...]