Reputation: 13
I'm just a newbie when it comes to jquery, so I'm just editing my scripts through modifications. I used isotope for my experiment and here's the result: http://rvflores.com/SM-SCROLL/
I need help for the container to appear in masonryHorizontal layout mode without me having to click on the button on the top part to change it. I read the documentation but I can't seem to find how they set it, so I just copied the script from their website.
Any help and suggestions are welcome, thank you :)
Upvotes: 1
Views: 4802
Reputation: 14650
The documentation for masonryHorixontal is missing the layoutMode
property.
The correct code would be:
$('#container').isotope({
layoutMode: 'masonryHorizontal',
masonryHorizontal: {
rowHeight: 360
}
});
This issue is also the cause of this question.
Upvotes: 3