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
var widest = null; | |
// remember the width of the "widest" element - probably faster than calling .width() | |
var widestWidth = 0; | |
$("div").each(function() { | |
if (widest == null) | |
{ | |
widest = $(this); | |
widestWidth = $(this).width(); | |
} | |
else |