🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #49220

Re: Wysokość DIV / JS

#49220
From: Peter
Date: Sat, 15 Aug 2009 08:20
26 lines
1487 bytes
Grzegorz Brycki pisze:
> Grzegorz Brycki pisze:
>> Peter pisze:
>>> Grzegorz Brycki pisze:
>>>> Witam,
>>>>
> 
>>
>>  IE ok, FF ok, Opera ok, Chrome ok, Safari nie działa! O co chodzi z 
>> Safarii?
> 
> 
> Przepraszam Chrome też nie działa.

Sprawdź, co jest tego powodem:

var divHeight = 
(parseInt((document.getElementById('papier').offsetHeight), 10) + 'px');
alert(divHeight);

Co Ci wyświetla się?

Sprawdziłem i w Chrome oraz Safari działa powyższe bez problemu.

-- 
Peter
Technical Details
Message-ID: <h65ghu$s39$1@node1.news.atman.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!plix.pl!newsfeed1.plix.pl!news.nask.pl!news.nask.org.pl!newsfeed.atman.pl!not-for-mail
References: <h645h0$fm6$1@news.onet.pl> <h647jd$mta$1@node2.news.atman.pl> <h64dpm$38r$1@news.onet.pl> <h64dqn$36k$1@news.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!plix.pl!newsfeed1.plix.pl!news.nask.pl!news.nask.org.pl!newsfeed.atman.pl!not-for-mail
From: Peter <peter.may@poczta.fm>
Newsgroups: pl.comp.lang.javascript
Subject: Re: Wysokość DIV / JS
Date: Sat, 15 Aug 2009 10:20:04 +0200
Organization: ATMAN
Lines: 26
Message-ID: <h65ghu$s39$1@node1.news.atman.pl>
References: <h645h0$fm6$1@news.onet.pl> <h647jd$mta$1@node2.news.atman.pl> <h64dpm$38r$1@news.onet.pl> <h64dqn$36k$1@news.onet.pl>
NNTP-Posting-Host: inet20908nb-0.nat.umts.dynamic.eranet.pl
Mime-Version: 1.0
X-Trace: node1.news.atman.pl 1250313598 28777 213.158.196.100 (15 Aug 2009 05:19:58 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Sat, 15 Aug 2009 05:19:58 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
In-Reply-To: <h64dqn$36k$1@news.onet.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit