Return to Snippet

Revision: 31145
at August 31, 2010 00:20 by fabienthomas


Initial Code
jQuery(document).ready(function($) {

   // equal height
	
	function equalHeight(group) {
	var tallest = 0;
	group.each(function() {
		var thisHeight = $(this).height();
		if(thisHeight > tallest) {
			tallest = thisHeight;
		}
	});
	group.height(tallest);
	}
	
	equalHeight($(".head-lines-item"));
	
});

Initial URL

                                

Initial Description

                                

Initial Title
Equal height using Jquery

Initial Tags

                                

Initial Language
JavaScript