Content in Lightbox dialog
Lightbox is specifically design to preview images. For General purpose overlay preview for images, videos, iframe and any custom html/text I recommend to use Fancybox. Fancybox module is available for integration in druapl.

$.fancybox("Your HTML");