Return to Snippet

Revision: 48406
at June 30, 2011 21:51 by joshangell


Updated Code
$('#some-container').each(function(){
	var h = 0;
	$(this).children('specify-element-if-you-need-to').each(function(i){
		if($(this).height() > h){h = $(this).height();}
	});
	$(this).children('specify-element-if-you-need-to').css({'height': h}); 
});

Revision: 48405
at June 30, 2011 21:50 by joshangell


Initial Code
$('#frontpage-problem-scroller').each(function(){
	var h = 0;
	$(this).children('li').each(function(i){
		if($(this).height() > h){h = $(this).height();}
	});
	$(this).children('li').css({'height': h}); 
});

Initial URL

                                

Initial Description

                                

Initial Title
jQuery Height Fix

Initial Tags
jquery

Initial Language
jQuery