#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: | |
Blocked by: | Blocking: |
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 (1)
Change History (3)
Changed 12 years ago by
Attachment: | JQIMVIEW-BUG.zip added |
---|
comment:1 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.
comment:2 Changed 12 years ago by
Oops, Sorry to have bothered you, but thanks very much for the rapid response & pointer. I shall endeavor to fix this myself. Paul
Example files with images in subdirectory