博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
jQuery实现slideRightShow()方法
阅读量:6949 次
发布时间:2019-06-27

本文共 998 字,大约阅读时间需要 3 分钟。

//jQueryx 实现slideLeft 和slideRight方法$.fn.slideLeftHide = function(speed, callback) {    this.animate({        width: "hide",        paddingLeft: "hide",        paddingRight: "hide",        marginLeft: "hide",        marginRight: "hide"    }, speed, callback);};$.fn.slideRightHide = function(speed, callback) {    this.animate({        width: "hide",        paddingRight: "hide",        paddingLeft: "hide",        marginRight: "hide",        marginLeft: "hide"    }, speed, callback);};$.fn.slideLeftShow = function(speed, callback) {    this.animate({        width: "show",        paddingLeft: "show",        paddingRight: "show",        marginLeft: "show",        marginRight: "show"    }, speed, callback);};//右滑动显示$.fn.slideRightShow = function(speed, callback) {    this.animate({        width: "show",        paddingRight: "show",        paddingLeft: "show",        marginRight: "show",        marginLeft: "show"    }, speed, callback);}

转载于:https://www.cnblogs.com/aoxiaoqiang/p/5037327.html

你可能感兴趣的文章
学习Zookeeper之第2章Zookeeper安装
查看>>
java开始到熟悉100-102
查看>>
(译)我为什么用Go语言来做区块链——Syed Jafar Naqvi——Co-Founder/CEO at Karachain...
查看>>
随机生成一个不重复的身份码,包含数字和字母
查看>>
王彪-20162321-实验二 树
查看>>
HDU 1754 线段树裸题
查看>>
异常处理
查看>>
Mysql事件学习
查看>>
整合思路、步骤
查看>>
本地==〉Github(push)
查看>>
Ural 1004 FLOYD最小环问题
查看>>
html5——canvas画布
查看>>
数据标准化处理,data.mean和data.std
查看>>
Ajax(简介、基础操作、计算器,登录验证)
查看>>
用ElasticSearch存储日志
查看>>
Linux定时备份mysql数据库
查看>>
[中英双语] 数学缩写列表 (List of mathematical abbreviations)
查看>>
[leetcode-150-Evaluate Reverse Polish Notation]
查看>>
【转】Github轻松上手5-站在巨人的肩膀上(Fork)
查看>>
》》HTML5 移动页面自适应手机屏幕四类方法
查看>>