You have Freemasonry elements wrapped in a div with a width of 1000 pixels, I have a button for resizing the div to 2000x using jQuery addClass() , the problem is that Freemasonry does not drag elements to fill the extra space of 1000 pixels, I know That resizing works because resizing the browser window results in a permutation.
Freemasonry:
$(function(){ $('#container').masonry({
Button:
$("a.button").toggle(function(){ $(this).addClass("flip"); $("div#container").fadeOut("fast", function() { $(this).fadeIn("fast").addClass("resize"); });
CSS
width: 1000px; width: 2000px !important;
I tried running ('a'). Click the Freemasonry button using the same button, and it seems to work fine, but the problem still exists.
Any tips? I'm at a standstill: /
source share