🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Wysokość DIV / JS

#49221
From: Grzegorz Brycki
Date: Sat, 15 Aug 2009 13:52
27 lines
1544 bytes
Peter pisze:
> 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ę?

poprawny numer w postaci dokładnie "664" czyli bez px...?

-- 
Grzegorz Brycki, http://beczkasoli.pl/GD298, a Ty?
Technical Details
Message-ID: <h66ei4$gc8$2@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.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> <h65ghu$s39$1@node1.news.atman.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
From: Grzegorz Brycki <grzegorz.brycki@op.pl>
Newsgroups: pl.comp.lang.javascript
Subject: Re: Wysokość DIV / JS
Date: Sat, 15 Aug 2009 15:52:06 +0200
Organization: BMM
Lines: 27
Message-ID: <h66ei4$gc8$2@news.onet.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> <h65ghu$s39$1@node1.news.atman.pl>
Reply-To: grzegorz.brycki@op.pl
NNTP-Posting-Host: nat-109.ghnet.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1250344324 16776 83.175.191.109 (15 Aug 2009 13:52:04 GMT)
X-Complaints-To: niusy@onet.pl
NNTP-Posting-Date: Sat, 15 Aug 2009 13:52:04 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
In-Reply-To: <h65ghu$s39$1@node1.news.atman.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit