Skip to main content

Bug Tracker

Side navigation

#4679 closed bug (invalid)

Opened May 20, 2009 07:55PM UTC

Closed May 21, 2009 12:40AM UTC

Last modified March 15, 2012 06:11PM UTC

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

Attachments (0)
Change History (1)

Changed May 21, 2009 12:40AM UTC by dmethvin comment:1

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.