<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,2 +1,4 @@
 log/
 db/development.sqlite3
+public/system
+public/.DS_Store</diff>
      <filename>file_upload_progress/.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -16,13 +16,9 @@ Event.addBehavior({
     $('progress').show();
     
     //add iframe and set form target to this iframe
-    iframe = document.createElement('iframe');
-    iframe.name = &quot;progressFrame&quot;;
-    $(iframe).setStyle({width:'0', height: '0', position: 'absolute', top: '3000px'});
-    document.body.appendChild(iframe);
-    
+    $$(&quot;body&quot;).first().insert({bottom: &quot;&lt;iframe name='progressFrame' style='display:none; width:0; height:0; position: absolute; top:30000px;'&gt;&lt;/iframe&gt;&quot;});
+        
     $(this).up('form').writeAttribute(&quot;target&quot;, &quot;progressFrame&quot;);
-    
     $(this).up('form').submit();
     
     //update the progress bar
@@ -45,6 +41,6 @@ Event.addBehavior({
         }
       },2);
   
-    return false;&#160;
+    return false;
   }
-})
\ No newline at end of file
+})</diff>
      <filename>file_upload_progress/public/javascripts/upload.js</filename>
    </modified>
    <modified>
      <diff>@@ -42,4 +42,6 @@ body {
   text-align: center;
   min-width: 1.5em;
   padding: 5px 0;
+  display: block;
+  margin-left: 0;
 }
\ No newline at end of file</diff>
      <filename>file_upload_progress/public/stylesheets/screen.css</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>644244409530becb7217132f598cc820b1e6d1ab</id>
    </parent>
  </parents>
  <author>
    <name>Erik Andrejko</name>
    <email>eandrejko@gmail.com</email>
  </author>
  <url>http://github.com/eandrejko/rails_illustrated_screencasts/commit/df7f43e7075be2582d15c9d464cecfd1d27c0486</url>
  <id>df7f43e7075be2582d15c9d464cecfd1d27c0486</id>
  <committed-date>2009-01-27T09:40:16-08:00</committed-date>
  <authored-date>2009-01-27T09:40:16-08:00</authored-date>
  <message>modified file upload javascript for IE 7</message>
  <tree>473f4cc056763ad3401f05804b15db2257cb94ea</tree>
  <committer>
    <name>Erik Andrejko</name>
    <email>eandrejko@gmail.com</email>
  </committer>
</commit>
