Currently 18:30:24 GMT

(Login | Register)

Owner: Samsonasu

Type: Patch

Created: 2006-07-26 00:00:00

Last Modified: 2006-07-26 00:00:00


fat-color_2_hex.patch (588 download(s))

A problem exists in IE where the browser occasionally reports the javascript style.backgroundColor value as the html color name instead of the hex or RGB value. This causes the "Fade Anything Technique" (http://www.axentric.com/posts/default/7) that wordpress uses for fading to not render properly, and to throw a javascript error. This patch fixes that problem for the 16 main html color names.\r\n\r\nI''m not certain if IE ever reports any of the more esoteric html colors that have recently become supported. They can be easily added to this code if neccesary.



There are no comments for this project. Be the first!


You must be registered and logged in to post comments. Not registered? Click here to get your free account!