Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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)

JQIMVIEW-BUG.zip (113.9 KB) - added by PaulJayD 9 years ago.
Example files with images in subdirectory

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by PaulJayD

Attachment: JQIMVIEW-BUG.zip added

Example files with images in subdirectory

comment:1 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed

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 9 years ago by PaulJayD

Oops, Sorry to have bothered you, but thanks very much for the rapid response & pointer. I shall endeavor to fix this myself. Paul

Note: See TracTickets for help on using tickets.