admin管理员组文章数量:1406177
I'm using Nivo slider on this page. The problem is that the slider collapses in chrome and safari. What I need to change?
Secondly, I want to change the title and links on each new images. How will I acplish this? Will I use "afterChange" method? I've to load images dynamically using some server-side language (PHP). Please help!
I'm using Nivo slider on this page. The problem is that the slider collapses in chrome and safari. What I need to change?
Secondly, I want to change the title and links on each new images. How will I acplish this? Will I use "afterChange" method? I've to load images dynamically using some server-side language (PHP). Please help!
Share Improve this question edited Jul 26, 2011 at 15:48 Cyril Gandon 17.1k15 gold badges81 silver badges123 bronze badges asked Jan 28, 2011 at 2:06 wasimbhalliwasimbhalli 5,2428 gold badges47 silver badges63 bronze badges2 Answers
Reset to default 2#nivo-slider is supposed to have a height and width specified, you're applying dimentions to its parent container, #nivo-slider-wrapper.
If you have more than one question the best practice is to post them separatedly.
Hey. I can't help with the afterChange method, but I can help with the collapsing issues you are having.
Try putting the following in your styles.css:
#slider {
min-height: 400px; //or whatever height you require.
}
And then alter your html for displaying the nivoSlider to:
<div id="slider" class="nivoSlider">
//other nivo stuff here.
</div>
Should solve the collapsing problem. Good luck :)
本文标签: javascriptNivo Slider having problem in Chrome amp SafariStack Overflow
版权声明:本文标题:javascript - Nivo Slider having problem in Chrome & Safari - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744972851a2635337.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论