0
我正在使用jcarousel滑塊。我用我自己的代碼的代碼,裏面components/com_virtuemart/views/productdetails/tmpl/default_images.php
jcarousel jquery圖像不移動
<?php
$count_images = count ($this->product->images);
if ($count_images > 1) {?>
<div class="floatleft">
<div class="wrapper">
<div class="jcarousel-wrapper">
<div class="jcarousel">
<ul>
<?php
for ($i = 0; $i < $count_images; $i++) {
$image = $this->product->images[$i];
?>
<li>
<?php
echo $image->displayMediaFull('class="product-image" style="cursor:pointer"',false,"");
?></li>
<?php}?>
</ul>
</div>
<a href="#" class="jcarousel-control-prev">‹</a>
<a href="#" class="jcarousel-control-next">›</a>
<p class="jcarousel-pagination">
</div>
</div>
</div>
<?php}
}
一切除了圖像完美的不動?
在控制檯中的任何錯誤?你有沒有將插件附加到你的DOM元素? –