loading image fixes (for IE 8)
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 22 Dec 2009 00:38:45 +0000 (17:38 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 22 Dec 2009 05:30:13 +0000 (22:30 -0700)
imp/js/DimpCore.js
imp/templates/index/index-dimp.inc
imp/themes/screen-dimp.css

index 1973c93..a463f1e 100644 (file)
@@ -284,12 +284,10 @@ var DimpCore = {
 
     loadingImg: function(elt, id, show)
     {
-        var c;
         elt = $(elt);
 
         if (show) {
-            c = $(id).cumulativeScrollOffset();
-            elt.clonePosition(id, { offsetLeft: c[0], offsetTop: c[1], setHeight: false, setWidth: false }).show();
+            elt.clonePosition(id, { offsetTop: $('previewPane').scrollTop, setHeight: false, setLeft: false, setWidth: false }).show();
         } else {
             elt.fade({ duration: 0.2 });
         }
index ecacc71..8926bee 100644 (file)
@@ -150,7 +150,6 @@ function _simpleButton($id, $text, $image)
      <div class="header mboxheader">
       <div>
        <span class="rightFloat" id="msgHeader"></span>
-       <span id="viewportLoading" class="loadingImg" style="display:none"></span>
        <span id="folderName"></span>
        <span class="iconImg readonlyImg" style="display:none" title="<?php echo htmlspecialchars(_("Read-Only")) ?>"></span>
       </div>
@@ -191,6 +190,7 @@ function _simpleButton($id, $text, $image)
     </div>
 
     <div id="msgSplitPane"></div>
+    <span id="viewportLoading" class="loadingImg" style="display:none"></span>
 
     <div id="previewPane" style="display:none">
      <span id="msgLoading" class="loadingImg" style="display:none"></span>
index 223b614..99823a8 100644 (file)
@@ -86,7 +86,6 @@ input {
     border-left: 1px silver solid;
     border-right: 1px silver solid;
     border-bottom: 1px silver solid;
-    position: relative;
 }
 .splitBarHoriz, .splitBarVert, .splitBarVertSidebar {
     background: #e9e9e9 no-repeat scroll;