Boxes Overlap On Page Load
Thanks for this plug in David, it's pretty cool. I was having a problem similar to this guy...
http://github.com/desandro/masonry/issues/unreads#issue/23
...but I saw he upgraded to version 1.3.1 and it resolved the problem, I did the same and it sorted the problem, however it seems to have come back for some reason. The boxes overlap on first page load, when you set the filter to show all they all go into place perfectly, it's just the initial layout on page load where all the boxes overlap on one horizontal line. There is a live URL of the problem here
http://stephenrobertskinner.com/work
I'm on a Mac using latest builds of Chrome and Firefox and the site runs through Expression Engine.
Thank you for any help!
Before we get into troubleshooting, I've got to do a RTFM check. Have you tried $(window).load()? See http://desandro.com/demo/masonry/docs/#images
Shit. I had the Masonry script in a separate JS file but had to copy it back onto the page due to an EE JS template clash, I've copied it into the $(document).ready() tag by accident. My mistake, sorry! Cheers
hello Deeper, how did you fixed the problem? I can get it. I have exactly the same problem and I cant fix it. When I am testing the code from my computer everything works perfect but when I am using it online on my website I have the problem with the overlap when the page first load.
any help? cheers