I'm trying to find a lightbox that can:
a) display inline html content
b) print the content of the lightbox, excluding the parent page
I'd prefer to use JQuery as I'm already using it in my site, but I'm open to alternative frameworks.
From what I've read, the only way to do this is to have the css hide everything other than the lightbox when printing. The following gives the idea:
However, the parent page also need to be printed - using the browser's print button.
I therefore need to way to say - if the lightbox is open, print with the parent elements hidden, otherwise print with everything visible.
Does anyone know if this is possible?