germanysbestkeptsecret / Wookmark-jQuery

A jQuery plugin to create a dynamic, multi-column layout.
MIT License
2.63k stars 759 forks source link

Wookmark with filterable endless scroll and colorbox #168

Closed imtom closed 10 years ago

imtom commented 10 years ago

Is it possible to have Wookmark with filterable endless scroll and colorbox? And if so how would one go about it? Ive tried combining them but i can't seem to get it to work. Help is very much appreciated. Tom

Sebobo commented 10 years ago

Hi,

someone else tried something like that recently. Magnific popup http://dimsemenov.com/plugins/magnific-popup/ seems to be better to achieve combining the lightbox with filters, because you can delegate what is shown in the lightbox, which means you can only show the filtered elements, even after loading more items. I'm using the plugin in many projects and will soon replace colorbox in the examples.

After loading more tiles you have to reload the filters. The wookmark api object which is returned on initialization allows you to do that.

Sebobo commented 10 years ago

I've updated the lightbox example with magnific popup and the delegate option. Hope that helps!

imtom commented 10 years ago

Thank you so much! :D