問題の解決策を見つけました
<script type="text/javascript" >
$(document).ready(function() {
setHeight('.col');
});
//Initialize the global variable, this will store the highest height value
var maxHeight = 0;
function setHeight(column) {
//Get all the element with class = col
column = $(column);
//Loop all the column
column.each(function() {
//Store the highest value
if($(this).height() > maxHeight) {
maxHeight = $(this).height();;
}
});
//Set the height
column.height(maxHeight);
}
</script>
次に、現在のクラスを次のように各グリッドに使用しました:(
2番目のdivにあることに注意してください)
<div class="ui-block-a"><div class="ui-bar ui-bar-c col"><?php echo tep_draw_checkbox_field('cart_delete[]', $products[$i]['id']); ?></div></div>