Skip to content
Mottie edited this page Jan 3, 2013 · 2 revisions

Version 1.2 (1/3/2013)

  • Updated demos to use jQuery 1.8+. Also, satisfactorily tested the demos with jQuery 1.9 beta 1.
  • Added breakpoint and disabled options:
    • If the breakpoint option contains a value, in pixels, the Equalizer plugin will disable itself when the main wrapper element width is below this value; it's the .wrapper in the setup examples.
    • When the breakpoint is reached, the class name from the disabled option is applied to the main wrapper element.
    • Added an adaptive demo to show how this works together.
    • If the main wrapper element is the browser window, then you can use media queries to change the style of the columns inside the wrapper.
    • Enhancement request from issue #1.
  • Added a method to enable or disable the Equalizer plugin.
    • To completely disable or re-enable the Equalizer plugin, trigger the desired event on the wrapper element:

      // to disable trigger disable.equalizer
      $('.wrapper').trigger('disable.equalizer');
      // use enable.equalizer to make it work again
      $('.wrapper').trigger('enable.equalizer');

Version 1.1 (1/12/2012)

  • Big change made in the plugin structure to better allow multiple instances.
    • Changed how the plugin is called. Call the plugin on the wrapper with the jQuery selector within the wrapper. The elements selected by the columns option will be equalized.

      ```javascript
      // old format = $('.wrapper > div')
      // new format below
      $('.wrapper').equalizer({
      	// find divs that are the immediate children of the wrapper
      	columns : '> div'
      });
      ```
      
    • Added a method to resize the columns

      ```javascript
      // initialize the plugin
      $('.wrapper').equalizer({ resizable: false });
      
      // update column heights on button click
      $('button').click(function(){
        // use the data object
        $('.wrapper').data('Equalizer').update();
        // or call the plugin again, any new options will be ignored
        // $('.wrapper').equalizer();
      });
      ```
      

Version 1.0.1 (7/14/2011)

  • Fixed a problem with adding headers, and headers with custom fonts, inside the blocks.
  • Added headers into the demo.

Version 1.0 (6/6/2011)

  • Initial build on Github
Clone this wiki locally