gpt4 book ai didi

javascript - jQuery .stop() 带动画

转载 作者:行者123 更新时间:2023-12-02 18:59:32 25 4
gpt4 key购买 nike

我正在一个网站上工作,我正在尝试使悬停查看示例:http://jsfiddle.net/PBbSh/6/但正如您所看到的, .stop() 在这里不起作用。有人知道为什么吗?

最佳答案

尝试执行.stop(true, true)The documentation将 stop 指定为

.stop( [clearQueue ] [, jumpToEnd ] )

执行.stop(true, true)将清除队列并将动画跳到末尾。如果您只想清除动画队列,请执行 .stop(true, false)

关于javascript - jQuery .stop() 带动画,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14938928/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com