natshah/jquery-equal-children

JQuery equal children

Installs: 22

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/natshah/jquery-equal-children

1.1.0 2017-01-28 03:19 UTC

This package is auto-updated.

Last update: 2025-09-17 11:33:34 UTC


README

You will be able to use it as for :

  $(window).resize(function() {
    var window_width = window.innerWidth || $(window).width();

    // xs : Extra small devices - Phones (<768px) .
    if (window_width < 768 ) {
      $('.menu').equalChildrenHeight("a");
    }
    else {
      $('.menu').equalChildrenAutoHeight("a");
    }

  });
  $(window).resize();