code: function(ranges, elems, hiddenOpacity, animDuration) {
              var self = this;
              // Hold the final opacity value for all elements consolidated after applying each ranges
              // This allow to set the opacity only once for each elements
              var elemsFinalOpacity = {};
  
              // set object with one valueIndex to 0 if we have directly the min/max
              if (ranges.min !== undefined || ranges.max !== undefined) {
                  ranges = {0: ranges};
              }
  
              // Loop through each valueIndex
              $.each(ranges, function (valueIndex) {
                  var range = ranges[valueIndex];
                  // Check if user defined at least a min or max value
                  if (range.min === undefined && range.max === undefined) {
                      return true; // skip this iteration (each loop), goto next range
                  }
                  // Loop through each elements
                  $.each(elems, function (id) {
                      var elemValue = elems[id].options.value;
                      // set value with one valueIndex to 0 if not object
                      if (typeof elemValue !== "object") {
                          elemValue = [elemValue];
                      }
                      // Check existence of this value index
                      if (elemValue[valueIndex] === undefined) {
                          return true; // skip this iteration (each loop), goto next element
                      }
                      // Check if in range
                      if ((range.min !== undefined && elemValue[valueIndex] < range.min) ||
                          (range.max !== undefined && elemValue[valueIndex] > range.max)) {
                          // Element not in range
                          elemsFinalOpacity[id] = hiddenOpacity;
                      } else {
                          // Element in range
                          elemsFinalOpacity[id] = 1;
                      }
                  });
              });
              // Now that we looped through all ranges, we can really assign the final opacity
              $.each(elemsFinalOpacity, function (id) {
                  self.setElementOpacity(elems[id], elemsFinalOpacity[id], animDuration);
              });
          }
docs: /*
  Show some element in range
  @param ranges: the ranges
  @param elems: list of element on which to check against previous range
  @hiddenOpacity: the opacity when hidden
  @animDuration: the animation duration