zonear / isotope-perfectmasonry

PerfectMasonry extension for Isotope
137 stars 49 forks source link

Horizontal Perfect Masonry extension for Isotope #10

Open SergeyKishenin opened 11 years ago

SergeyKishenin commented 11 years ago

Closes #9.

romanenko commented 11 years ago

+1

mikkotikkanen commented 11 years ago

Hey. Thanks for the contribution! I'll check this more closely next week. At a quick glance, I'm a bit hesitant to merge this since I'm almost done with an update which is changing things around and also adds support for horizontal layout out from the box. Plus, there's a surprise as well. :) But I'll take a gander how to approach this thing next week. :) At least people can find the modification here at the moment.

SergeyKishenin commented 11 years ago

Oh, there is no problem with that, boss! I just had no time to wait your long-awaited update and decided to take the matter in my own hands and share it with people :) Anyway everyone can check out my fork for this feature

mikkotikkanen commented 11 years ago

Yeah, completely understandable. :)

mikkotikkanen commented 11 years ago

Just committed the horizontal layout feature, among with other goodies. \o/

You can set the extension to horizontal by providing layout option, like so:

perfectMasonry: {
    layout: "horizontal"
}

Does this work for you?