Demonstrates basic usage of the plugin.
Demonstrates sliding up and down.
Using multiple comparisons at once.
来源:zurb 代码整理:温州网站建设联盟淘宝店 感谢:拾图网
*尊重他人劳动成果,转载请自觉注明出处!注:此代码仅供学习交流,请勿用于商业用途。
TwentyTwenty图片对比插件(jQuery),拖动图片上的滑块按钮可以很轻松的突出显示两个图像之间差异,兼容主流浏览器,温州网站建设联盟淘宝店推荐下载!
使用方法:
1、在head区域引入样式表文件foundation.css和twentytwenty.css
2、在你的网页中加入<!-- 代码 开始 --><!-- 代码 结束 -->注释区域代码即可
3、引入jquery.min.js和jquery.event.move.js和jquery.twentytwenty.js
4、确定你想要的效果,拷贝对应代码到你的网页中即可。