X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=ux%2FLightbox.js;h=1091755dfb5fcba916cee82a076bcdeb14737d7a;hb=0b69a11b1055a6d3a3fd0719bdd58b5a235de0e4;hp=d231afc0aa1fbf9a0e85699d6f8a0b005062a0c1;hpb=d4b558363961ac8ede89b8e35b4d8010e193a87c;p=roojs1 diff --git a/ux/Lightbox.js b/ux/Lightbox.js index d231afc0aa..1091755dfb 100644 --- a/ux/Lightbox.js +++ b/ux/Lightbox.js @@ -53,20 +53,13 @@ Roo.ux.Lightbox = function(cfg) { Roo.apply(Roo.ux.Lightbox.prototype, { // optiosn.. - /** - * @cfg fileLoadingImage {string} loading image - */ - fileLoadingImage: '/lightbox/images/loading.gif', - /** - * @cfg fileBottomNavCloseImage {string} close image - */ - fileBottomNavCloseImage: '/lightbox/images/closelabel.gif', + /** * @cfg overlayOpacity {number} controls transparency of shadow overlay */ overlayOpacity: 0.8, /** - * @cfg fileLoadingImage {boolean} toggles resizing animations + * @cfg animate {boolean} toggles resizing animations */ animate: true, /** @@ -115,7 +108,7 @@ Roo.apply(Roo.ux.Lightbox.prototype, initialize: function() { this.updateImageList(); - + this.initializeCSS(); // TBD this.keyboardAction = this.keyboardAction.bindAsEventListener(this); this.resizeSpeed = Math.min(this.resizeSpeed, 10); this.resizeSpeed = Math.max(this.resizeSpeed, 1); @@ -128,30 +121,30 @@ Roo.apply(Roo.ux.Lightbox.prototype, // white 250 by 250 box. var size = (this.animate ? 250 : 1) + 'px'; var dh = Roo.DomHelper; - this.el = dh.append(document.body, { + this.el = Roo.DomHelper.append(document.body, { html: - // '
' + - '