mqchen / jquery.diamonds.js

Diamond layout.
http://mqchen.github.io/jquery.diamonds.js/
MIT License
128 stars 69 forks source link

Different sizes #7

Open withcotton opened 10 years ago

withcotton commented 10 years ago

Hello

Could there be a way of allowing different sized diamonds within the same call/wrapper div? When I make a second call using the same wrapper but different itemSelectors the first call is ignored and the items don't show.

Thanks

mqchen commented 10 years ago

Hi!

Do you want to mix diamonds of different sizes in the same collection of diamonds, or do you want multiple collections of diamonds all of equal sizes within each collection in the same wrapper?

Could you perhaps add a drawing of what you want to accomplish?

withcotton commented 10 years ago

I was thinking of mixing diamonds in the same wrapper, a little like a masonry style.

withcotton commented 10 years ago

Here's a quick layout idea. The diamonds would have to be proportionally the same size though, I guess, so that they all slot into place correctly. 200px, 400px, 600px etc. diamonds_2

mqchen commented 10 years ago

That's a good idea, and it would be cool, but unfortunately not that easy. I'll look into it.

amdad commented 8 years ago

+1

ahmadbadpey commented 8 years ago

@cottoncreative ,did you find any solution?

withcotton commented 8 years ago

I didn't I'm afraid @ahmadbadpey