Jssor slider does not display slides in Chrome

2019-03-06 05:09发布

问题:

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>


标签: jssor