Helma Logo
main list history
previous version  overview  next version

Version 7 by hannes on 25. June 2007, 11:59

  <form enctype="multipart/form-data" name="form" method="post" action="/testThis is a demo for the new upload monitor support.status?upload_id=12345" Files for running this locally (requires a recent Helma snapshot):
        onsubmit="UploadProgress.monitor('/test.status', 12345678, 0.3);" target="target_upload">
    <div id="file-fields">
      <p><input name="data" type="file"></p>
    </div>
    <a href="#" onclick='UploadProgress.FileField.add();return false;'>Add File Field</a>
    <input name="Upload" type="submit"/>
  </form>

  <div id="progress" style="display: none"<% this.attachments %>
    <div id="progress-bar"></div>
    <div id="progress-results"></div>
  </div>

Tested lightly with Firefox, IE, <iframe id='target_upload'Konqueror and Safari, name='target_upload'but more feeback is highly welcome. src=''Upload limit is 1 MB. style='display: none'></iframe>

     removed
     added