开发者

jquery slideup doesn't seem to be sliding smoothly

When I call slideup or slidedown on my div, it seems to be sliding ve开发者_如何学运维ry very fast. Do I need to slideup all the inner elements also?

my DOM:

<div id="outer">
    <div id="inner">
        <div id="inside">hi</div>
    </div>
</div>


Did you try setting the speed?

http://jsbin.com/odiji/edit

Explore the example above where I set the speed to be 5000 which will slide the element over 5 seconds.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜