Article View: pl.comp.lang.javascript
Article #50321Chrome ucina content przy skrypcie equal jQuery
From: hazet
Date: Wed, 06 Oct 2010 17:56
Date: Wed, 06 Oct 2010 17:56
21 lines
1321 bytes
1321 bytes
Witam,
oto skrypt wykorzystujÄ…cy jquery:
function equalHeight(group) {
tallest = 0;
group.each(function() {
thisHeight = $(this).height();
if(thisHeight > tallest) {
tallest = thisHeight;
}
});
group.height(tallest);
}
$(document).ready(function() {
equalHeight($("#content, #sidebar"));
});
Wszystko jest ok w ff, ie a googe chrome ucina paginacje (ostatni blok w
content) tak jakby jej nie było. Clear nic nie daje.
Technical Details
Message-ID:
<i8id8p$c1$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: hazet <hazet@no-mail.pl> Newsgroups: pl.comp.lang.javascript Subject: Chrome ucina content przy skrypcie equal jQuery Date: Wed, 06 Oct 2010 19:56:42 +0200 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 21 Message-ID: <i8id8p$c1$1@inews.gazeta.pl> NNTP-Posting-Host: static-ip-77-89-75-190.promax.media.pl Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1286387801 385 77.89.75.190 (6 Oct 2010 17:56:41 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Wed, 6 Oct 2010 17:56:41 +0000 (UTC) X-User: introw X-Antivirus: avast! (VPS 101006-0, 2010-10-06), Outbound message X-Antivirus-Status: Clean User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit