public
Description: Yet another lightbox script, this one's for the bleeding edge of prototype/scriptaculous
Clone URL: git://github.com/tdreyno/darkbox.git
allow static positioning in IE7+
Thomas Reynolds (author)
Wed Mar 26 15:08:48 -0700 2008
commit  a9700d050044edab3cf0509ed46438fa27ffa760
tree    9e206ca0f73d96344d192213c98f39b4d1db6396
parent  7fc767d9c430f3badcba0df703960aee9e532d61
...
102
103
104
105
 
106
107
108
...
102
103
104
 
105
106
107
108
0
@@ -102,7 +102,7 @@ var Darkbox = {
0
       var from_top = arguments[2] || 100;
0
       
0
       // I'm not actually sure IE is broken, I'm just assuming :-p
0
- if (Prototype.Browser.IE) {
0
+ if (Prototype.Browser.IE6) {
0
          from_top += document.viewport.getScrollOffsets()[1];
0
         Darkbox.element.setStyle({ position: 'absolute' });
0
       }

Comments

    No one has commented yet.