Comments (18)
circular 触发循环切换的条件是, 设置了 circular: true, 且效果是 scrollx 或 scrolly, 但目前确实除了 Carousel 的 circular 有用外, 其他都没用, 原因是内部设了个 _isNext 变量控制, 这个写的有问题, 我查下看.
from switchable.
@lizzie Thanks!
from switchable.
@newtonniu http://aralejs.org/switchable/examples/switchable.html 第二个例子
from switchable.
@lizzie 可以了,thanks~
from switchable.
@lizzie 有个新BUG,就是Slide设置circular后从第一个直接切换到最后一个的时候会出现一个白屏!
from switchable.
有demo么? 看文档的示例是没有白屏啊...
from switchable.
以前是有个白屏的, 最新的版本应该解决了呀.
from switchable.
确实还有个问题, 从第一个直接切换到最后一个, scrolly动画, 是从上切到下的. 正常是从下切到上的
from switchable.
from switchable.
是不是你CSS 设的不对?
from switchable.
不是,结构按着文档来的,未改之前是正常的~
from switchable.
@lizzie 而且这个白的不是一直在,是切换过来后图片才突然出现!
from switchable.
from switchable.
@newtonniu 是否可以把页面发到我邮箱? 看图没法定位原因... [email protected]
from switchable.
@lizzie 已发,查了一遍,的确css问题,囧,Demo里面有说明,你看看吧!
from switchable.
你可以修改 CSS :
/**
* 问题已发现,是这个hidden照成的,这里设置hidden是修复IE7及以下浏览器没有隐藏的bug
*/
.slidepic { overflow: hidden; }
.ui-switchable-content 这个div, 宽高是不需要 overflow: hidden的, 应该是其父级设定宽高且 overflow: hidden;
你试下看~
from switchable.
按上述去掉之后, IE6,7怎么还是有白屏...aralejs/switchable 示例也有同样的问题, 我查下看.
from switchable.
@lizzie 嗯~
from switchable.
Related Issues (20)
- Carousel的最大宽度问题 HOT 6
- 参数circular设置后滚动效果错误 HOT 7
- data-role 应该换成 data-switchable-role HOT 1
- 提交个bug HOT 2
- effects.js变更后请及时更新至SPM HOT 3
- 增加动态 add/remove 功能 HOT 1
- slide组件与tab组件panels冲突 HOT 2
- widget.js文件第一行抛出问题 HOT 4
- 是否可以增加 `multiple: false` 的情况下允许全关闭 HOT 15
- Tab组件可以延迟加载,使用Ajax获取内容吗。 HOT 2
- data-switchable-role 暂时改回 data-role
- Carousel在360安全浏览器下无法正常演示 HOT 5
- carousel 在360浏览器极速模式显示有问题 ,兼容模式下没问题 HOT 1
- arale 很多模块都没有 spm3 doc publish HOT 1
- data-switchable-role 被替换成data-role HOT 1
- switchable 如果没有在初始化的时候指定唯一的 element 参数引发的问题。 HOT 1
- 为什么 spmjs.io 上发布的 1.1.0 版没有 package.json HOT 3
- 怎么实现左右2块半透明遮罩,中间是viewsize区域这样scrollx切换
- Arale-switchable的演示挂掉了 HOT 1
- 这个插件和jquery.switchable有关系不?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from switchable.