jquery.matchHeight.js - manabuyasuda/jquery-plugins GitHub Wiki
<script src="jquery.matchHeight.js" type="text/javascript"></script>
class属性item
を対象とする場合。
$(function() {
$('.item').matchHeight(options);
});
オプションは指定しなくてもいい場合が多い。
$(function() {
$('.item').matchHeight({
byRow: true, // 行を検出するか(true or false)
property: 'height', // style属性として使用するプロパティ('height' or 'min-height')
target: null, // (e.g. `$('.sidebar')`)
remove: false //
});
});