Hi Alexandre,
The core jQuery .animate() method works only for properties that take
numeric values (although you can use the shortcut strings "show",
"hide", and "toggle" as well).
For animation of other CSS properties, or even classes, check out the
Interface plugin suite (and ifx.js in particular):
http://interface.eyecon.ro
http://interface.eyecon.ro/docs/animate
Also, you don't need to add the easing parameter if you want it to be
the default, "linear."
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Mar 2, 2007, at 12:23 PM, Alexandre Plennevaux wrote:
hello!
i'm trying to have jquery fade between 2 colors, but can't get it
to work, here is what i'm trying:
$('#contactForm').animate({left: 400, width: 300, height:
600, backgroundColor: "#617B8C"},"slow","linear",showContactInfo);
the docs specifies it must be camel cased, which i did . What am i
doing wrong?
thank you !!
alexandre
Alexandre Plennevaux - LAb[au] asbl.vzw / MediaRuimte
Lakensestraat/Rue de Laeken 104
B-1000 Brussel-Bruxelles-Brussels
Belgie-Belgique-Belgium
Tel:+32(0)2.219.65.55
Fax:+32(0)2.426.69.86
Mobile:+32(0)476.23.21.42
http://www.lab-au.com
http://www.mediaruimte.be
______________________________________________________________________
____
The information in this e-mail is intended only for the addressee
named above. If you are not that addressee, please note that any
disclosure, distribution or copying of this e-mail is prohibited.
Because e-mail can be electronically altered, the integrity of this
communication cannot be guaranteed.
______________________________________________________________________
____
--
Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.447 / Base de données virus: 268.18.5/707 - Date:
1/03/2007 14:43
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/