Skip to content

Instantly share code, notes, and snippets.

@joshuabremer
Created July 1, 2013 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshuabremer/5904917 to your computer and use it in GitHub Desktop.
Save joshuabremer/5904917 to your computer and use it in GitHub Desktop.
/*!
* jQuery Largest In Set- v0.1 - 7/1/2013
*
*/
(function(a){a.fn.TallestInSet=function(c){var b={};if(c){a.extend(b,c)}var e=0;var d=0;this.each(function(){e=(a(this).height()>e?a(this).height():e);d=(a(this).width()>d?a(this).width():d)});return e};a.fn.UniformHeight=function(c){var b={};if(c){a.extend(b,c)}this.css("height",this.TallestInSet())}})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment