Slimbox2 with the modification as outlined in the blog entry I linked you to is the way to go. It allows you to put your own custom init on the script, which Is what is shown in the code block on that page. With it you can make lightbox links like so:
Code:
<a href="someimage.jpg" rel="lightbox"
rev="This is a caption with a <a href='http://www.yourblog.com/someinfo.htm'>Link</a> in it."
>Text or image tag trigger</a>
The script itself, while looking and otherwise acting the same as Lightbox, is more efficient than Lightbox. You can do that with the official Lightbox, but you would have to use the title attribute instead of rev. That means that when you hover over the trigger with the mouse you would see the HTML code.
Since Lightbox doesn't allow for custom inits, its code would have to be hacked to permit the use of the rev attribute in this manner.
Bookmarks