0
$.fn.equalHeight = function() {
var height = 0,
reset = $.browser.msie ? "1%" : "auto";
return this.css("height", reset).each(function() {
height = Math.max(height, this.offsetHeight);
}).css("height", height).each(function() {
var h = this.offsetHeight;
if (h > height) {
$(this).css("height", height - (h - height));
}
});
};
.. fonctionne très bien dans Firefox et même le IE6 merde mais pas Webkit (Safari, Chrome). Comment je le répare?Égalité de hauteur ne fonctionne pas dans Safari (jQuery)
Un grand merci
Avez-vous regardé ceci: http://webkit.org/blog/66/the-fouc-problem/ – Pointy
Qu'en est-il ne fonctionne pas? –
Equal heights ne fonctionne pas dans webkit, fonctionne dans tous les autres navigateurs. – 3zzy