position: 'absolute',
top: '0px',
width: '100%',
- 'z-index': '999'
+ 'z-index': '40999'
}
});
},
});
//this.imageArray = [];
- var imageNum = 0;
+ var imageNum = -1;
if (imageLink) {
imageLink = Roo.get(imageLink);
imageNum = i;
}
});
+ if (imageNum < 0) {
+
+ this.imageArray.push(imageLink);
+ imageNum = this.imageArray.length-1;
+ }
}
// let's assume the constructor sorts out the list of images..
this.lightbox.setStyle({
top: lightboxTop + 'px',
left: lightboxLeft + 'px' ,
- zIndex : 1000
+ zIndex : 41000
});
//console.log("show lightbox");
this.lightbox.show();
// hide elements during transition
if (this.animate) {
this.loading.setStyle({
- zIndex :1200
+ zIndex : 41200
});
this.loading.show();
this.loadinglink.setX( (Roo.lib.Dom.getViewWidth() / 2) - 16);