Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#4679 closed bug (invalid)

Invalid Argument in IE 8

Reported by: vbismee Owned by:
Priority: major Milestone: 1.4
Component: plugin Version: 1.3.2
Keywords: IE 8, Invalid Aggument, bgImageTransition Cc:
Blocked by: Blocking:

Description

Hello, I ran across a problem in one of the plugins for JQuery, however I am posting it in here because I do not think it is a problem with the plugin.

If you run the project in IE 8 you get an invalid aggument error. The error is located on line 835 - "style.left = ret
0;" in the jquery-1.3.2.js file.

The demo is located here: http://www.ovalpixels.com/bgImageTransition/

Plugin Located here: http://plugins.jquery.com/project/bgImageTransition

If you run the webpage in IE 7 compatibility mode it works fine. It also works fine in IE 7, Firefox, Chrome, and Safari.

I was wondering if there is anything I can do to fix this.

Thank you, Jeff

Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: invalid
Status: newclosed

You can use the IE8 debugger to look up the call stack to see that it's dying when the plugin does this:

   helperElement.css('zIndex', settings.zindex);

the value of settings.zindex}} is {{{NaN because the plugin tries to parse a number and the value of this.css("zIndex") is "auto". That is a legal value according to the W3C:

http://www.w3.org/TR/CSS2/visuren.html#z-index

I don't see a core jQuery bug here, it's returning the css value correctly and the plugin is not anticipating the value it gets.

Note: See TracTickets for help on using tickets.