From 1fe4c6eff03997a8ccdd88019c6857de67f1b676 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Thu, 30 Jun 2011 09:31:13 +0000 Subject: [PATCH] * set the min height of the row1 of my-index page to 200px. --- module/my/js/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/my/js/index.js b/module/my/js/index.js index c89fbb13bd..bea8803cc0 100644 --- a/module/my/js/index.js +++ b/module/my/js/index.js @@ -6,7 +6,8 @@ $(function() /* Set the heights of every block to keep them same height. */ row1Height = $('#row1').height() - 10; row2Height = $('#row2').height() - 10; - row2Height = row2Height > 200 ? row2Height : 200; // Min height is 200px. + row1Height = row1Height > 200 ? row1Height : 200; // Min height is 200px. + row2Height = row2Height > 200 ? row2Height : 200; $('#row1 .block').each(function(){$(this).css('height', row1Height);}) $('#row2 .block').each(function(){$(this).css('height', row2Height);})