buy cheap designer bags here http://www.px78.com/Handbags/
On Jul 20, 6:38 am, djeyewater <showerhead...@hotmail.com> wrote: > I have a function that resizes an image (imgCur) and changes its > padding when a new image (img) is loaded like so: > img.onload = function(){ > var t = this; > //Animate current image to new image size > imgCur.animate({ > "width": t.width, > "height": t.height, > "padding": "20px 25px" > }, 750).attr("src", img.src); > > } > > Which works fine in FF, Opera and Chrome. But in IE6, 7 & 8 it doesn't > like changing the padding, and I get an error at line 835 in > jquery-1.3.2.js, which is: > style.left = ret || 0; > > If I check in the IE Script debugger, ret has the value "40px 50px", > which obviously isn't a valid value for style.left. "40px 50px" is the > padding of imgCur that is set in the CSS file. > But why is jQuery trying to set the CSS left property of imgCur to its > current padding?