Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 35 lines (29 sloc) 1.537 kb
d46d6e12 »
2011-12-02 Let the hacking begin :)
1 /*
2 **********************************************************
3 Author: Qawelesizwe Mlilo
4 Email: qawemlilo@gmail.com
7d8fdf4b »
2011-12-06 README updated
5 Description: Customized Simple SWFUpload Demo
18f7f801 »
2011-12-06 fixed progress error
6 Demo: http://qawemlilo.github.com/customized-swfupload/
d46d6e12 »
2011-12-02 Let the hacking begin :)
7 **********************************************************
8bf6ad3b »
2011-12-02 Cleaned out some unwanted files and code
8 */
9
dfa1b80d »
2011-12-06 Added some JS cookies
10 SWFUpload
8bf6ad3b »
2011-12-02 Cleaned out some unwanted files and code
11 I came across the SWFUpload plugin when I was working a project for a client who wanted to allow up to 300 image file uploads per user.
12
13 What's Nice?
7d8fdf4b »
2011-12-06 README updated
14 * The ability to select multiple files in the file browser dialog
15 * "Ajax style" multiple file uploads without refreshing the page.
16 * SWFUpload fires several events during the upload process.
17 (the developer can use the events to update the UI and handle errors).
18 * It is fast.
19 * Its highly customizable.
20
21 What I didn't like
22 * The UI of the available demos is not a friendly one when dealing with a lot of files.
23 * Too much code for handling events
24 * File upload limit is reset whenever the user refreshes the page
25 * SWFUpload Object resets the file count everytime we open the browser file dialog box
26
27 What this demo does
28 I have taken the simple demo and thrown away excess code(namely, fileprogress.js) and re-written the event handler functions.
29 I have added the following features:
8bf6ad3b »
2011-12-02 Cleaned out some unwanted files and code
30
dfa1b80d »
2011-12-06 Added some JS cookies
31 * A progress bar that tracks the number of files uploaded
7d8fdf4b »
2011-12-06 README updated
32 * A counter for the number of files uploaded
33 * A status update for current file being uploaded
34 * JavaScript Cookie tracking that ensures the user does not exceed file upload limit
35
Something went wrong with that request. Please try again.