幅が 768 を超える解像度に対してのみ等列スクリプトを実行したいのですが、どうすればよいかわかりません。
これは私のスクリプトです:
function setEqualHeight(columns) {
var tallestcolumn = 0;
columns.each(function () {
currentHeight = $(this).height();
if (currentHeight > tallestcolumn) {
tallestcolumn = currentHeight;
}
});
columns.height(tallestcolumn);
}
$(document).ready(function () {
setEqualHeight($(" .container > .content"));
});