title: jQuery Multiple selection
body: <p>I am trying to select more than one category in this "Filterable jQuery Portfolio." Currently the widget is functional and correctly sorts when one item is selected. I am trying to select multiple categories which then filter items.</p>
  
  <p>Here is an example image</p>
  
  <p><a href="http://i.imgur.com/X0hFfUj.jpg" rel="nofollow">jQuery image example</a></p>
  
  <p>Here is the jQuery code, I am unsure whether to use "MultiSelect" and where to place it.</p>
  
  <pre><code>    jQuery('document').ready(function() {
  // PORTFOLIO SORTING
  jQuery('div.nimble-portfolio-filter ul li a').click(function() {
      jQuery(this).css('outline','none');
      jQuery('div.nimble-portfolio-filter ul .current').removeClass('current');
      jQuery(this).parent().addClass('current');
      var filterVal = jQuery(this).attr('rel');
      if(filterVal == 'all') {
          jQuery('div.nimble-portfolio ul li.hidden').fadeIn('normal').removeClass('hidden');
      } else {
          jQuery('div.nimble-portfolio ul li').each(function() {
              if(!jQuery(this).hasClass(filterVal)) {
                  jQuery(this).fadeOut('normal').addClass('hidden');
  
              } else {
                  jQuery(this).fadeIn('normal').removeClass('hidden');
              }
          });
      }
  </code></pre>
  
  <p>Here is a link of the <a href="http://www.nimble3.com/portfolio/" rel="nofollow">demo</a></p>