是否可以在均衡器高度上增加一个额外的高度?
Is it possible to add an extra height to equalizer height?
无论 Foundation Equalizer 计算出多少高度,我都需要额外增加 35px。这可能吗?
比如Equalizer高度计算是350px,我想加上35px。所以创建的样式将是 height: 385px;
而不是 height: 350px;
.
谢谢。
使用此代码初始化基金会:
$(document).foundation({
equalizer: {
after_height_change: function(){
$('div[data-equalizer-watch]').height(function (index, height) {
return (height + 35);
});
}
}
});
无论 Foundation Equalizer 计算出多少高度,我都需要额外增加 35px。这可能吗?
比如Equalizer高度计算是350px,我想加上35px。所以创建的样式将是 height: 385px;
而不是 height: 350px;
.
谢谢。
使用此代码初始化基金会:
$(document).foundation({
equalizer: {
after_height_change: function(){
$('div[data-equalizer-watch]').height(function (index, height) {
return (height + 35);
});
}
}
});