Side navigation
#4416 closed bug (worksforme)
Opened March 25, 2009 03:46AM UTC
Closed November 09, 2010 03:13AM UTC
$(window).height() does not work on Nokia 5800
Reported by: | santrajan | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | attributes | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$(window).height() reports 0 on Nokia Series 60 (Nokia 5800).
My workaround for this was
height = $(window).height() || window.innerHeight;
Series 60 javascript reports window.innerHeight correctly.
But innerHeight is not exactly "height" but is ok for me now.
Attachments (0)
Change History (3)
Changed March 25, 2009 03:51AM UTC by comment:1
Changed June 12, 2010 01:59PM UTC by comment:2
component: | unfiled → attributes |
---|---|
description: | $(window).height() reports 0 on Nokia Series 60 (Nokia 6800). \ My workaround for this was \ height = $(window).height() || window.innerHeight; \ Series 60 javascript reports window.innerHeight correctly. \ But innerHeight is not exactly "height" but is ok for me now. → $(window).height() reports 0 on Nokia Series 60 (Nokia 5800). \ My workaround for this was \ height = $(window).height() || window.innerHeight; \ Series 60 javascript reports window.innerHeight correctly. \ But innerHeight is not exactly "height" but is ok for me now. |
summary: | $(window).height() does not work on Nokia Series 60 → $(window).height() does not work on Nokia 5800 |
Changed November 09, 2010 03:13AM UTC by comment:3
resolution: | → worksforme |
---|---|
status: | new → closed |
Only S60 v5.0 is supported by jQuery. This should be fixed as of 1.4.3; please reopen if not.
oops!
It is Nokia 5800 not 6800.
and work around is
height = $(window).height() "or" window.innerHeight
(I cant put the correct javascript "or" here)