Bug Tracker

Modify

Ticket #4336 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

$(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:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 4 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 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to duplicate

Consolodated under #3117.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.