* set the min height of the row1 of my-index page to 200px.
This commit is contained in:
@@ -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);})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user