Plugin Directory

Changeset 3066474


Ignore:
Timestamp:
04/08/2024 12:16:58 AM (2 years ago)
Author:
MIGHTYminnow
Message:

Tested up to 6.5.0 and updated readme

Location:
equal-height-columns
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • equal-height-columns/tags/1.2.0/readme.txt

    r3030810 r3066474  
    44Tags: equal, height, column, div, element, jQuery, JavaScript
    55Requires at least: 3.5
    6 Tested up to: 6.4.3
     6Tested up to: 6.5.0
    77Stable tag: 1.2.0
    88License: GPLv2 or later
     
    9090This plugin is [on Github](https://github.com/MIGHTYminnow/equal-height-columns) and pull requests are always welcome.
    9191
     92= NEW: Multi rows =
     93
     94On version **1.2.0** we are introducing a new feature *(for now, only available via JavaScript)* that resolves a common issue if the row number of certain elements varies across breakpoints when the number of columns change.
     95
     96For example, if we have 2 columns for tablets and 3 columns for desktops, the third element in the group would be positioned on the second row for tablets but on the first row for desktops.
     97
     98Before this new feature, the equal height would be based on all the elements from the group. Now you can have "subgroups" for each row, and recalculate when the number of columns in the rows change.
     99
     100To use this new feature add the function once per breakpoint:
     101
     102    jQuery( document ).equalHeight( selector, columns, minWidth, maxWidth );
     103
     104 **selector:** The selector of the group of elements that you want to apply the equal height.
     105
     106 **columns:** The number of columns per row on the breakpoint.
     107
     108 **minWidth:** The minimum width of the breakpoint. Use 1 for mobile.
     109
     110 **maxWidth:** The maximum width of the breakpoint. You can leave empty for the biggest breakpoint.
     111
     112The following example would apply equal height for headings with the class **.demo-heading** in a grid that has 1 column per row on mobile, 2 columns on tablet and 3 columns on desktop:
     113
     114    $( document ).equalHeight( '.demo-heading', 1, 1, 767 ); // 1 columns for 1px - 767px
     115    $( document ).equalHeight( '.demo-heading', 2, 768, 1024 ); // 2 columns for 768px - 1024px
     116    $( document ).equalHeight( '.demo-heading', 3, 1025 ); // 3 columns for 1025px (and above)
     117
    92118== Frequently Asked Questions ==
    93119
  • equal-height-columns/trunk/readme.txt

    r3030810 r3066474  
    44Tags: equal, height, column, div, element, jQuery, JavaScript
    55Requires at least: 3.5
    6 Tested up to: 6.4.3
     6Tested up to: 6.5.0
    77Stable tag: 1.2.0
    88License: GPLv2 or later
     
    9090This plugin is [on Github](https://github.com/MIGHTYminnow/equal-height-columns) and pull requests are always welcome.
    9191
     92= NEW: Multi rows =
     93
     94On version **1.2.0** we are introducing a new feature *(for now, only available via JavaScript)* that resolves a common issue if the row number of certain elements varies across breakpoints when the number of columns change.
     95
     96For example, if we have 2 columns for tablets and 3 columns for desktops, the third element in the group would be positioned on the second row for tablets but on the first row for desktops.
     97
     98Before this new feature, the equal height would be based on all the elements from the group. Now you can have "subgroups" for each row, and recalculate when the number of columns in the rows change.
     99
     100To use this new feature add the function once per breakpoint:
     101
     102    jQuery( document ).equalHeight( selector, columns, minWidth, maxWidth );
     103
     104 **selector:** The selector of the group of elements that you want to apply the equal height.
     105
     106 **columns:** The number of columns per row on the breakpoint.
     107
     108 **minWidth:** The minimum width of the breakpoint. Use 1 for mobile.
     109
     110 **maxWidth:** The maximum width of the breakpoint. You can leave empty for the biggest breakpoint.
     111
     112The following example would apply equal height for headings with the class **.demo-heading** in a grid that has 1 column per row on mobile, 2 columns on tablet and 3 columns on desktop:
     113
     114    $( document ).equalHeight( '.demo-heading', 1, 1, 767 ); // 1 columns for 1px - 767px
     115    $( document ).equalHeight( '.demo-heading', 2, 768, 1024 ); // 2 columns for 768px - 1024px
     116    $( document ).equalHeight( '.demo-heading', 3, 1025 ); // 3 columns for 1025px (and above)
     117
    92118== Frequently Asked Questions ==
    93119
Note: See TracChangeset for help on using the changeset viewer.