jQuery slideUp/slideDown函数未设置动画 [英] jquery slideUp/slideDown functions not animating
本文介绍了jQuery slideUp/slideDown函数未设置动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在.slideup()
和.slideDown()
看看以下JSFiddle: http://jsfiddle.net/7se2r/4/
have a look at the following JSFiddle: http://jsfiddle.net/7se2r/4/
尽管该行正在出现和消失,但我看不到上下滑动的动画.关于我在做什么错的任何线索?
Although the row is appearing and disappearing, I'm not seeing the animation of sliding up or down. any clue as to what I'm doing wrong?
推荐答案
使用"tbody",您可以使用.show("slow")和.hide("slow"),但不能执行滑动动画.
With "tbody" you can use .show("slow") and .hide("slow"), but you can't do the sliding animation.
例如,如果在"div"上尝试滑动,则可以使用.
Sliding will work if you try it on a "div" for example.
这篇关于jQuery slideUp/slideDown函数未设置动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文