search for: colors_base

Displaying 1 result from an estimated 1 matches for "colors_base".

2005 Nov 07
2
question about Effect.Highlight and IE 5.5
...light.update and Effect.Highligh.finish functions you would need to loop through all childNodes if the element is a TR and apply the same color to each childNode, as such: update: function(position) { var effect = this; var colors = $R(0,2).map( function(i){ return Math.round(effect.colors_base[i]+(effect.colors_delta[i]*position)) }); this.updateElementColor("#" + colors[0].toColorPart() + colors[1].toColorPart() + colors[2].toColorPart()); }, finish: function() { this.updateElementColor(this.options.restorecolor); this.element.style.backgroundI...