Bug Tracker

Opened 14 years ago

Closed 14 years ago

#4336 closed bug (duplicate)

$(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:


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.

Change History (2)

comment:1 Changed 14 years ago by loops

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();

comment:2 Changed 14 years ago by dmethvin

Resolution: duplicate
Status: newclosed

Consolodated under #3117.

Note: See TracTickets for help on using tickets.