jQuery Masonry fixed / prepositioned element
i have a navigation element inside a jquery masonry layout and i would like to fix it to a specific position lets say right top. is it 开发者_JAVA技巧possible to do that so every other element gets positioned around it?
something like preposition the navigation..
this is my code: http://jsfiddle.net/ftqTr/
right now i'm trying to position an empty element where the navigation is. but the size of the div boxes are random.. so a fixed position for the fake navigation or another solution would be awesome!
thanks in advance
This is a feature that has been often requested. I call it "corner stamp." I've created a modification that you can use:
https://github.com/desandro/masonry/issues/105 http://jsfiddle.net/desandro/M8EYn/embedded/result,js,css/
update Mar 25, 2016
This feature has been implemented as the stamp
option in Masonry v3
精彩评论