jQuery Thickbox or similar to show iFrame?

Posted by Mitchel Sellers on Stack Overflow See other posts from Stack Overflow or by Mitchel Sellers
Published on 2008-10-16T23:27:50Z Indexed on 2010/06/16 20:32 UTC
Read the original article Hit count: 209

Filed under:
|
|

I have been looking at jQUery thickbox for showing modal dialogs with images, it is great. But now I have the need to display a hidden div of content that contains an iFrame in a similar fashion, with a link to open the content. So I'd have something like this.

<a href="">Open window in Modal Dialog</a>

<div id="myContent">
    <h1>Look at me!</h1>
    <iframe src="http://www.google.com" />
</div>

And need to show it in the dialog. Is it possible?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about modal-dialog