jQuery:向左滑动,向右滑动 [英] jQuery: Slide left and slide right
本文介绍了jQuery:向左滑动,向右滑动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在jQuery中看到了 slideUp
和 slideDown
I have seen slideUp
and slideDown
in jQuery. What about functions/ways for sliding to left and right?
推荐答案
你可以使用jQuery UI中的附加效果来做到这一点: a href =http://docs.jquery.com/UI/Effects/Slide =nofollow noreferrer>查看此处
You can do this with the additional effects in jQuery UI: See here for details
快速示例:
$(this).hide("slide", { direction: "left" }, 1000);
$(this).show("slide", { direction: "left" }, 1000);
这篇关于jQuery:向左滑动,向右滑动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文