As far as I know, you would still need links, at least that would be the easiest approach. They could be in a division with the style display:none; though. That way they wouldn't be seen, ex:
Code:
<div style="display:none">
<a id="im1" href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>
<a id="im2" href="images/image-2.jpg" rel="lightbox" title="my caption">image #2</a>
</div>
You can have as many of those as you need for all of your images. Then the select could be run like so:
Code:
<select
onchange="if(this.selectedIndex!=0)
myLightbox.start(document.getElementById(this.options[this.selectedIndex].value));">
<option>Select Image</option>
<option value="im1">Image 1</option>
<option value="im2">Image 2</option>
</select>
Bookmarks