Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

iiiBird/jQuery.equalHeights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

17 Commits

Repository files navigation

jQuery Equal Heights by row

Version 1.0.0

This plugin makes the height of all selected elements exactly equal.

Authors

iBird Rose (vk.com) & KFan (vk.com)

Manual Download - Stable Release

Download

Install

Include jquery.equalheights.js after calling jQuery.

<script src="jquery.equalheights.js" type="text/javascript"></script>

Usage

$(function() {
 $(".item").equalHeights(options);
});

Options

The default options are:

{
 innerItem: false,
 parent: $(this).parent(),
 byRow: true
}

Where:

  • innerItem - Inner element that you want to set the height. type - string. (Example: innerItem: ".item_content",)
  • parent - Parent element if a direct parent is not needed element. type - object (Example: parent: $(".parent"),)
  • byRow - true or false to enable row detection.

more information and examples in demo

Demo and Examples

Examples

Changelog

Version 1.0.0

  • First Release

AltStyle によって変換されたページ (->オリジナル) /