I had a problem where images are not resizing correctly with the JCrop plugin. I am using the minified version of Jquery 1.3.2. (jquery-1.3.2.min.js).
If you are using jquery 1.3.2 and you find the problem whereby Internet Explorer 8 (IE8) gives you an error saying "invalid argument" then:
Find the following in your jquery-1.3.2.min.js file:
return N.toUpperCase()});if(L){
If you find it you need to replace it with this:
return N.toUpperCase()});if(L){if(K=='NaNpx'){K=''}
The above code needs to go just before the following
J[G]=K}return J[G]}
The final result in context should look something like this
return N.toUpperCase()});if(L){if(K=='NaNpx'){K=''}J[G]=K}return J[G]}
Original article found here: http://osdir.com/ml/jQuery/2009-05/msg00505.html
By PHPin24 @ 2010-04-12 16:38:38
|