Skip to main content

Bug Tracker

Side navigation

#4336 closed bug (duplicate)

Opened March 12, 2009 04:39AM UTC

Closed May 16, 2009 02:52AM UTC

$(window).height() / Opera 9.2x / jQuery 1.3.x incorrect value

Reported by: emartin24 Owned by: brandon
Priority: major Milestone: 1.4
Component: dimensions Version: 1.3.2
Keywords: dimensions window height opera Cc:
Blocked by: Blocking:
Description

May be same issue as in http://dev.jquery.com/ticket/4335

It appears that in Opera 9.2x and jQuery 1.3.x, $(window).height() returns an incorrect value.

See: http://www.ericmmartin.com/code/jquery/opera/

I created a ticket for each browser, just in case the issue/fix is different.

Attachments (0)
Change History (2)

Changed April 10, 2009 07:55AM UTC by loops comment:1

Same bug with jQuery 1.3.2 on Opera 9.27 under Win32.

Temporary fix using :

var windowHeight = jQuery.browser.opera ? window.innerHeight : jQuery(window).height();

Changed May 16, 2009 02:52AM UTC by dmethvin comment:2

resolution: → duplicate
status: newclosed

Consolodated under #3117.