Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
startNoHref: function(imageNum, imagesArray) {
hideSelectBoxes();
// stretch overlay to fill page and fade in
var arrayPageSize = getPageSize();
Element.setHeight('overlay', arrayPageSize[1]);
new Effect.Appear('overlay', { duration: 0.2, from: 0.0, to: 0.8 });
imageArray = [];
for (var i=0; i<imagesArray.length; i++){
imageArray.push(new Array(imagesArray[i], ""));
}
imageArray.removeDuplicates();
// calculate top offset for the lightbox and display
var arrayPageSize = getPageSize();
var arrayPageScroll = getPageScroll();
var lightboxTop = arrayPageScroll[1] + (arrayPageSize[3] / 15);
Element.setTop('lightbox', lightboxTop);
Element.show('lightbox');
this.changeImage(imageNum);
},
<a href="#" onclick="myLightbox.startNoHref(0, new Array(
'/images/001.jpg',
'/images/002.jpg'
)); return false;">Start Gallery</a>
<div style='display:none'>
<a id='gallery1_image1' ...></a>
<a id='gallery1_image2' ...></a>
...
</div>Lightview.show('gallery1_image1')
1 to 6 of 6