Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.X Problems (问题汇总) #264

Open
5 of 6 tasks
shinate opened this issue Oct 18, 2015 · 15 comments
Open
5 of 6 tasks

2.X Problems (问题汇总) #264

shinate opened this issue Oct 18, 2015 · 15 comments
Labels

Comments

@shinate shinate assigned shinate and unassigned shinate Oct 18, 2015
@shinate
Copy link
Member Author

shinate commented Oct 18, 2015

#255

@lococo--0
Copy link

dot plugin加入不了诶

var slider = new iSlider({
  dom: document.getElementById('iSlider-wrapper'),
  data: data,
  plugins: ['dot'],
});

dot plugin里面的回调完全没有被调用

@xieyu33333
Copy link
Member

@lococo--0 相关资源是否加入页面?

@lococo--0
Copy link

@xieyu33333 那个dot-wrap放在iSlider-wrapper的parentNode里面了,不是应该放在iSlider-wrapper里面么?

@lococo--0
Copy link

this.fixPage = opts.fixPage || true;

这个直接把fixPage设为true了 ··

@lococo--0
Copy link

能不能在dot-wrap里面加个默认的背景样式呀 ·· 不然白点在白色的图片上面没有凸显 ··

@xieyu33333
Copy link
Member

this.fixPage = opts.fixPage || true; 应该是代码合并的时候出问题了

@shinate
Copy link
Member Author

shinate commented Oct 20, 2015

@lococo--0 2.0.1加入配置,dot可以设置加入的位置 relative=在iSlider wrap内,其他保持默认,和现在一样,还可以写成dom选择器,append到特定的容器里。

@lococo--0
Copy link

@shinate 棒!
所以现在应该是

plugins: [['dot', {locate: 'relative'}]]

这样咩?

@shinate
Copy link
Member Author

shinate commented Oct 21, 2015

@lococo--0 是的

@lococo--0
Copy link

有时候滑动会导致出现两个active dot,没有办法每次复现,但是多滑几次出现频率就很高。

@shinate
Copy link
Member Author

shinate commented Nov 2, 2015

@lococo--0 需要看下你的例子

@siweikoudai
Copy link

islider在移动端做带标题的焦点图,li的高度有了,但是ul没有高度?

@shinate
Copy link
Member Author

shinate commented Feb 18, 2016

@siweikoudai UL并没有设置高度,仅仅作为容器存在,如果需要可以单独写css

@siweikoudai
Copy link

@shinate 因为要响应式 所以暂且写一个media query来解决好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants