如何同时使用 jquery 动画效果
例如,我有 2 个 jquery 效果和 3 个对象:
$('.test1').fadeIn();
$('.test2').fadeOut();
$('.test3').fadeOut();
当 .test1 淡入时,.test2 和 .test3 必须同时淡出。 我怎样才能做到没有额外的插件并且没有不透明动画?
for example I have 2 jquery effects and 3 object:
$('.test1').fadeIn();
$('.test2').fadeOut();
$('.test3').fadeOut();
when .test1 fades in .test2 and .test3 must fade out simultaneously.
how can I do it without extra plugin and without opacity animation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用回调来实现相同的效果
you can use the callback for achieving the same