Displaying 1 result from an estimated 1 matches for "fromcolor".
Did you mean:
forecolor
2005 Jun 28
1
Thomas script.aculo.us (important bug and add ons)
...toColorPart().toUpperCase();
s+=this.g.toColorPart().toUpperCase();
s+=this.b.toColorPart().toUpperCase();
return s;
}
Effect2.Glow=Class.create();
Effect2.Glow.prototype=(new Effect2.Base()).extend({
initialize:function(){
this.element=$(arguments[0]);
options={
from:0.0,
to:1.0,
fromColor:new Color("FFFFFF"),
toColor:new Color("FFFFCC")
}.extend(arguments[1]||{});
this.start(options);
},
update:function(position){
this.setColor(position);
},
setColor:function(position){
var r,g,b,color;
var o=this.options;
r=parseInt((o.toColor.r-o.fromColor.r)...