jQuery Lightbox or equivalent with image array
问题 I'm trying to implement a Lightbox-style gallery where clicking a text link launches a slideshow of images that are loaded from an array, not from inline content on the page. All the examples I can find use a group of inline images that are related somehow (i.e. using a rel tag or class). I want to define my images using their paths in a Javascript array. Anyone know the solution or have any pointers? TIA. 回答1: The following works with the example you can download from the plugin site. Demo