Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

agenceepsilon/jquery-equalizr

Repository files navigation

jQuery Equalizr GitHub version Bower version

Apply the greater height has all the same columns.

Parameters

elemClass

Specify the class of elements to target. If the option is empty, the plugin will target children in the class that initializes the plugin.

type: class/string
default: ""

rowClass

Specify the class applied to the main element. If the option is empty, the plugin will apply the default class.

type: class/string
default: "row-equalizr"

colClass

Specify the class applied to the child elements. If the option is empty, the plugin will apply the default class.

type: class/string
default: "col-equalizr"

minHeight

Specify a minimum height to child elements.

type: number
default: ""

maxHeight

Specify a maximum height to child elements.

type: number
default: ""

animation

Specify whether to play the animation.

type: boolean
default: true

duration

Specify the time of the animation.

type: number
default: 400

afterLoad

Specify whether the plugin should start before or after the loading of all images.

type: boolean
default: false

Initialize

Target parent block that contains columns / modules to adjust.

$(".row").equalizr({
    // Options
});

Changelogs

2.0.0

  • News options:
    • minHeight
    • maxHeight (#2)
  • Changing the names of options:
    • classSelector change to elemClass
    • classRow change to rowClass
    • classCol change to colClass
    • animate change to animation
    • animateTime change to duration
  • Rewriting the code

1.0.1

  • Fix no animate wrong height (#1)

1.0.0

  • Initial release