Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Dynamic page/replacing content container height issue Re: Dynamic page/replacing content container height issue

#49132
Chris Coyier
Keymaster

You’ll have to attach a load event to all images that come in with the content, in the callback function of .load(). Then when they fire, recalculate the container height and adjust it again.