includes/clientside/static/faders.js
changeset 461 717e71109645
parent 419 b8b4e38825db
child 473 518bc2b214f1
--- a/includes/clientside/static/faders.js	Sun Feb 24 12:52:07 2008 -0500
+++ b/includes/clientside/static/faders.js	Sun Feb 24 17:50:38 2008 -0500
@@ -24,7 +24,15 @@
       thediv.style.position = 'absolute';
     else
       thediv.style.position = 'fixed';
-    thediv.style.top = '0px';
+    if ( IE )
+    {
+      var top = getScrollOffset();
+      thediv.style.top = String(top) + 'px';
+    }
+    else
+    {
+      thediv.style.top = '0px';
+    }
     thediv.style.left = '0px';
     thediv.style.opacity = '0';
     thediv.style.filter = 'alpha(opacity=0)';