我试图使用jQuery的Animate函数来动画化标签的HTML部分(< font id =“test”size =“7”> This Text!< / font>),如下所示:
$("#test").delay(1500).animate({text:'The text has Now changed!'},500);
但是没有任何反应,它不会改变文本。
我如何做到这一点?谢谢!
解决方法
animate(..)
功能的签名是:
.animate( properties,options );
并且它说了以下关于参数属性:
properties A map of CSS properties that
the animation will move toward.