I am creating a modal that will be used for different aspx pages that already exist, so the div that I have to hold the pages (which will be loaded through ajax.load method) needs to grow vertically and horizontally to fit the need of the different popup pages. How would I go about retrieving the height and width of the documents I will be injecting into the div so that I can animate the height and width to grow and shrink based on the aspx page being loaded in.
Thanks.
-Seth