-
1. Re: How to animate color-change
resdesign Dec 19, 2013 5:30 AM (in response to Savid)Hi there. I made a pluggin for colors here:
http://mjpagedesign.com/ColorandGlow.js/
But here is what you could do with jquery-UI with their example:
$(function() {
var state = true;
//$( "#button" ).click(function() {
if ( state ) {
sym.$( "Rectangle" ).animate({
backgroundColor: "#aa0000",
color: "#fff",
width: 500
}, 1000 );
} else {
sym.$( "Rectangle" ).animate({
backgroundColor: "#fff",
color: "#000",
width: 240
}, 1000 );
}
state = !state;
});
// });
-
2. Re: How to animate color-change
Savid Dec 19, 2013 6:43 AM (in response to resdesign)Thanks,
but the jquerry doesn't work...
widht works fin, but sadly no colorchange
-
3. Re: How to animate color-change
Savid Dec 19, 2013 6:59 AM (in response to Savid)neverming, got it working... didn't realise you need an external js to get colorchange working at all...
-
4. Re: How to animate color-change
resdesign Dec 19, 2013 7:10 AM (in response to Savid)Exactly! You could also do it in Edge directly. I'll try to find time to post a file later - very busy right now.
Check this out in the mean time:


