ux/Lightbox.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 29 Dec 2010 08:22:51 +0000 (16:22 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 29 Dec 2010 08:22:51 +0000 (16:22 +0800)
ux/Lightbox.js

index 1abfe1e..0937aeb 100644 (file)
@@ -532,8 +532,8 @@ Roo.apply(Roo.ux.Lightbox.prototype,
         }
 
         (function(){
-            this.prevlink.setStyle({ top: imgHeight + 'px' });
-            this.nextlink.setStyle({ top: imgHeight + 'px' });
+            this.prevlink.setStyle({ height: imgHeight + 'px' });
+            this.nextlink.setStyle({ height: imgHeight + 'px' });
             this.imagedatacontainer.setStyle({ width: widthNew + 'px'}); // the text area..
             this.showImage();
         }).defer(timeout / 1000, this);