Lytebox is designed for either a regular page (no dynamic content via Ajax), or one that incorporates its ability to work across an iframe.
It could probably be worked out with Ajax, but I'm not really interested in doing so because lightbox, the script that inspired Lytebox, is fairly easy to setup with Ajax - no iframe allowed though. Link to lightbox:
http://www.dynamicdrive.com/dynamici...box2/index.htm
You put the lightbox scripts and style links on the top page. On your external pages, use the hard coded onclick event with each lightbox link, ex (from the demo page, addition red):
Code:
<a href="images/image-1.jpg" rel="lightbox" onclick="myLightbox.start(this); return false;" title="my caption">image #1</a>
Bookmarks