开发者

jquery slideup doesn't seem to be sliding smoothly

开发者 https://www.devze.com 2022-12-10 17:21 出处:网络
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?

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

精彩评论

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