Created
July 1, 2013 21:44
-
-
Save joshuabremer/5904917 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* 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