dojo.animateProperty does not support rgba fully
It seems that animateProperty will not properly calculate rgba's transparency to animate through... this can be tested by calling the below command with a proper node.
dojo.animateProperty({
node:"nav",
duration: 5000, /* to ensure it wasnt be missed in a quick transition */
properties: {
backgroundColor: { end: "rgba(128,128,128,.75)", start:"rgba(128,128,128,.33)" },
}
}).play();
Change History (3)
Owner: |
changed from anonymous to nic
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
mwilcox wrote a dojo.animateProperty extension to animate complex css properties.
Just add
dojo.require("dojox.fx.ext-dojo.complex");
and it will work