jQuery plugins: How can I stop divs from overlapping?

Posted by anir on Stack Overflow See other posts from Stack Overflow or by anir
Published on 2012-10-29T16:57:28Z Indexed on 2012/10/29 17:00 UTC
Read the original article Hit count: 116

Filed under:
|

I'm using Masonry and Embedly plugin to display embedded content, I've put together an example in

jsfiddle.net/anir/pBtbb/3/

It appears the Masonry plugin loads first and it causes the overlapping problem (they only show correctly when you resize the result window) I've read that I could use callback functions or retrigger Masonry once embedly has finished rendering content, but I don't know how to do it. Can you help me? Is there any other solution to fix this?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery