4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5 <link href="fileuploader.css" rel="stylesheet" type="text/css">
7 body {font-size:13px; font-family:arial, sans-serif; width:700px; margin:100px auto;}
11 <p><a href="http://github.com/valums/file-uploader">Back to project page</a></p>
13 <p>To upload a file, click on the button below. Drag-and-drop is supported in FF, Chrome.</p>
14 <p>Progress-bar is supported in FF3.6+, Chrome6+, Safari4+</p>
16 <div id="file-uploader-demo1">
18 <p>Please enable JavaScript to use file uploader.</p>
19 <!-- or put a simple form for upload here -->
23 <script src="fileuploader.js" type="text/javascript"></script>
25 function createUploader(){
26 var uploader = new qq.FileUploader({
27 element: document.getElementById('file-uploader-demo1'),
28 action: 'do-nothing.htm',
33 // in your app create uploader as soon as the DOM is ready
34 // don't wait for the window to load
35 window.onload = createUploader;