我有一个问题与primefaces轮播它只显示2项5,第一和第三只:
<p:carousel numVisible="0" style="height: 350px !important;width: 860px !important;;" autoPlayInterval="4000" firstVisible="0" itemStyleClass="width:870px;height:350px;" circular="true">
<p:panel styleClass="carousel-panel">
<p:graphicImage width="877" height="350" value="/home_page/Carr0.png" />
</p:panel>
<p:panel styleClass="carousel-panel">
<p:graphicImage width="877" height="350" value="/home_page/Carr1.png" />
</p:panel>
<p:panel styleClass="carousel-panel">
<p:graphicImage width="877" height="350" value="/home_page/Carr2.png" />
</p:panel>
<p:panel styleClass="carousel-panel">
<p:graphicImage width="877" height="350" value="/home_page/Carr3.png" />
</p:panel>
<p:panel styleClass="carousel-panel">
<p:graphicImage width="877" height="350" value="/home_page/Carr4.png" />
</p:panel>
</p:carousel>