Bug Tracker

Modify

Ticket #6990 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

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

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

Change History

Changed 3 years ago by PaulJayD

Example files with images in subdirectory

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.

comment:2 Changed 3 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

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.