Jssor slider does not display slides in Chrome

无人久伴 提交于 2019-12-04 06:38:11

问题


I have jssor slider working well in Firefox and IE. However in Chrome the image vanishes as soon as the transition completes. Then the image reappears just as the next transition begins. How do I "tell" Chrome to display the missing slide?


回答1:


Just set $HWA to false as you can see here




回答2:


I have fixed the problem by changing:

<img data-u="image" style="position: absolute;"/>

to

<img data-u="image" style="position: relative;"/>



回答3:


I have found that removing the link from the image element fixes the problem along with setting the style="position: relative;" as mentioned above.

<div>
<a u=image href="#"><img src="../img/paint/08.jpg" /></a>
</div>

to

<div>
<img src="../img/paint/08.jpg" style="position: relative;"/>
</div>


来源:https://stackoverflow.com/questions/26405256/jssor-slider-does-not-display-slides-in-chrome

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!