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
aa |
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
$(document).height() |
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 biggestHeight = "0"; | |
// Loop through elements children to find & set the biggest height | |
$(".container *").each(function(){ | |
// If this elements height is bigger than the biggestHeight | |
if ($(this).height() > biggestHeight ) { | |
// Set the biggestHeight to this Height | |
biggestHeight = $(this).height(); | |
} | |
}); |
OlderNewer