Search code examples
jqueryajaxfont-face

@font-face and jQuery height() for ajax content


I have a situation similar to this question, where I need to equalize element heights while using @font-face: jQuery working out wrong height, due to @font-face

Using $(window).load worked at first, but now I need to load in this content dynamically with an AJAX call. Is there anything I can do? Another event I can tap into to determine when the dynamically loaded content has been fully rendered, @font-face and all?


Solution

  • This actually turns out to be a non-issue. It seems that the post-load event for AJAX content behaves like a window.load would, as opposed to a document.ready.