Lightbox: how to dynamically resize it according to html content ?

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-06-11T10:10:35Z Indexed on 2010/06/11 10:12 UTC
Read the original article Hit count: 140

Filed under:
|
|

hi,

I've some troubles to specify the height of my lightbox, since the content is dynamically loaded I dunno how tall the container should be.

The content is a part of a html page (some divs).

What do you suggest me to do ? Should I change the lightbox height with javascript only after the content is loaded ?

thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html