Modify ↓
Ticket #6990 (closed bug: invalid)
Invalid argument in IE8, but works in: FF, Chrome, Opera, Safari
| Reported by: | PaulJayD | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | unfiled | Version: | 1.4.2 |
| Keywords: | invalid argument | Cc: | |
| Blocking: | Blocked by: |
Description
Just load the jqimv.html file and click on a link. Works in all browsers but IE8 (all latest versions). The jquery-ui.custom.min.js is for draggable facility, which needn't be exercised.
Attachments
Change History
Changed 3 years ago by PaulJayD
-
attachment
JQIMVIEW-BUG.zip
added
comment:1 Changed 3 years ago by dmethvin
- Status changed from new to closed
- Resolution set to invalid
The IE8 debugger breaks on an invalid attribute assignment of "NaNpx" so it is correct about the error. Tracing the stack back, it's being caused here in the jqimv plugin:
$imvimg.css({ // apply them
width: dimennew[0],
height: dimennew[1]
})
Both dimennew elements are NaN, which explains where "NaNpx" comes from. That's not a valid input to .css(). If you need help debugging the problem, ask on the forum.
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.

Example files with images in subdirectory