Modify ↓
Ticket #4055 (closed bug: invalid)
innerWidth and ... fails for document and window
| Reported by: | SalarSoft | Owned by: | brandon |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | dimensions | Version: | 1.3.1 |
| Keywords: | innerWidth,outerWidth,innerHeight,outerHeight | Cc: | |
| Blocking: | Blocked by: |
Description
I'm using jQuery 1.3.1 with Firefox 3.0.5.
for $(document) and $(window) objects innerWidth, outerWidth, innerHeight and outerHeight doesn't work and an exception occurs.
Firebug reported this error: "object is undefined" line 666.
The methods works fine in other browsers.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Only width and height methods work on document and window objects.