Natshah / jquery-equal-children

JQuery equal childrens

Home Page:http://natshah.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JQuery equal children 1.1.0

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();

About

JQuery equal childrens

http://natshah.com

License:MIT License