开发者

jQuery Masonry Help - Filters

开发者 https://www.devze.com 2023-02-08 15:31 出处:网络
I would really appreciate it if someone could lend some help with this. I have a question in regard to jQuery Masonry. I am working with 6 filters for the menu (ABOUT US - PROJECTS - SERVICES - WE LI

I would really appreciate it if someone could lend some help with this.

I have a question in regard to jQuery Masonry. I am working with 6 filters for the menu (ABOUT US - PROJECTS - SERVICES - WE LIKE - All - CONTACT)

Currently, by default the homepage/index displays all of the content until 开发者_StackOverflowa filter is clicked. Is there a way to make one of the filters (other than All) a default for the homepage/index instead of opening all of the content.


I made jQuery Masonry.

Filtering with jQuery Masonry is now unsupported. In its stead, you can use Isotope - which does filtering a lot easier than Masonry. For example:

$('#container').isotope({ filter: '.filter-class' });

Isotope will be released in the next couple days.

0

精彩评论

暂无评论...
验证码 换一张
取 消