From d9368e8e22a543dd663f2e67461ad93297d804d7 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 21 Dec 2009 17:38:45 -0700 Subject: [PATCH] loading image fixes (for IE 8) --- imp/js/DimpCore.js | 4 +--- imp/templates/index/index-dimp.inc | 2 +- imp/themes/screen-dimp.css | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/imp/js/DimpCore.js b/imp/js/DimpCore.js index 1973c9322..a463f1ec0 100644 --- a/imp/js/DimpCore.js +++ b/imp/js/DimpCore.js @@ -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 }); } diff --git a/imp/templates/index/index-dimp.inc b/imp/templates/index/index-dimp.inc index ecacc71ab..8926bee9a 100644 --- a/imp/templates/index/index-dimp.inc +++ b/imp/templates/index/index-dimp.inc @@ -150,7 +150,6 @@ function _simpleButton($id, $text, $image)
-
@@ -191,6 +190,7 @@ function _simpleButton($id, $text, $image)
+