Hi John,
you could use my new plugin animateStyle for that purpose. It's an addition
to animate, but works quite different.
Check it out here: http://paul.jquery.com/plugins/animateClass/
after inclusion, just do $("h2").animateStyle("font-size: 2em", 500) , this
should do the job.
Good luck!
2006/11/22, Jörn Zaefferer <[EMAIL PROTECTED]>:
John Cherouvim schrieb:
> Hello
>
> I can do $("h2").animate({ fontSize: 18 }, 500); to make my <h2>
> animate to larger, but how can I say '2em' instead of that 18?
> Does that 18 mean 18px?
>
jQuery's animation currently support only pixels. See also this bug
report: http://jquery.com/dev/bugs/bug/86/
--
Jörn Zaefferer
http://bassistance.de
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
--
Paul Bakaus
Web Developer
------------------------
Hildastr. 35
79102 Freiburg
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/