Skip to content

Beautiful advanced tag filtering with HTML5 and jQuery

License

Notifications You must be signed in to change notification settings

CJX3M/filtrify

 
 

Repository files navigation

filtrify.js

What?

Filtrify is an advanced tag filtering plugin, inspired by Chosen multiple select feature and Orman Clark’s Vertical Navigation Menu. Advanced because you can search tags within tags and filter items by multiple tags from different categories and get a live feedback on the number of items containing related tags.

How?

Filtrify makes use of the new HTML5 "data" attribute to store the metadata.
All you have to do is include a "data" attribute for each item in your list with the respective tags (metadata). If you have more than one category of tags, include them in another "data" attribute. You can add as much categories of tags as you need.
Filtrify will then go through all the data attributes you included in your items and it will create a search menu with as many fields as the different number of categories (data-attributes) you provided. Each field label in the menu fires a "popup" filtering panel and there's where all the magic happens.
The plugin instanciation is very simple, you just have to pass a "containerID" and a "placeHolderID" which is the ID of the element where you want to place the menu.

Visit filtrify's project page to read the documentation.

Demos

Browser compatibility (tested):

IE7 (buggy)
IE8+, Chrome, Firefox, Opera and Safari (current versions)

Release log:

#####v0.2 (04.04.2012)

  • Isotope integration demo added
  • Bug fix: search icon disappearance issue in the "jPages" demo

#####v0.1.1 (01.04.2012)

  • Bug fix: 1px jump when toggling the filter

#####v0.1 (22.03.2012)

  • First release

About

Beautiful advanced tag filtering with HTML5 and jQuery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published