从右向左滑动? [英] Slide right to left?

查看:85
本文介绍了从右向左滑动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何让div从折叠到展开(反之亦然),但是从右到左呢?



我看到的大多数东西

p

  $(#slide)。animate({ width:'toggle'},350); 

参考: https://api.jquery.com/animate/


How can I have a div go from collapsed to expanded (and vice versa), but do so from right to left?

Most everything I see out there is always left to right.

解决方案

$("#slide").animate({width:'toggle'},350);

Reference: https://api.jquery.com/animate/

这篇关于从右向左滑动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆