0
我使用Yii與Bootstrap。並嘗試從圖像文件夾中幻燈片顯示一組圖像。這是我用來顯示幻燈片放映圖像的代碼。Bootstrap旋轉木馬不顯示幻燈片
$this->widget('bootstrap.widgets.TbCarousel', array(
'items' => array(
array(
'image' => 'images\DSC02786_1.jpg',
'label' => 'First Thumbnail label',
'caption' => 'jubiliant mood '),
array(
'image' => 'images\siva.jpg',
'label' => 'Second Thumbnail label',
'caption' => 'Another caption'),
array(
'image' => 'images\siva1.jpg',
'label' => 'Third Thumbnail label',
'caption' => 'Yet Another'),
),
));
它顯示圖像,一個挨着另一個,而不是在幻燈片放映。作爲新手,我找不到我犯的錯誤。
控制檯上有任何JS錯誤嗎? – halfer
這可能不是你的問題,但那些反斜槓應該在網絡上正斜槓。 – halfer
沒有錯誤。圖像顯示沒有任何問題,一個接一個。 – Sivaa