Closed tomws closed 13 years ago
This seems to be the results of IE's lack of support for rgba.
jquery core worked around this with a try/catch block (https://github.com/jquery/jquery/commit/2ca36598954759c5b5dce569a39c52b981ed4ab2#diff-0). I did the same to my local copy as a quick-fix. Another rgba support method or a css property check may be better. If testing css property, I wonder whether an MS filter (http://dimox.net/cross-browser-rgba-support/) could be used in place of rgba to provide the same user experience.
Any time I try to set color with jquery (using .css or .animate()), IE 6 and 8 are giving me color.js errors. IE8 sample (IE6 issues the same error for line 283):
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) Timestamp: Mon, 14 Mar 2011 13:14:42 UTC
Message: Invalid property value. Line: 282 Char: 6 Code: 0 URI: http://example.com/sites/all/themes/zen_subtheme/js/color.js?lh4ow3