0
我試圖在我的carousel
滑塊中使用引導程序來實現向右/向左箭頭。該項目是CakePhp
CakePHP中未顯示Bootstrap glyphicon symbole
我需要實現這一點:
<a class="right carousel-control" href="#myCarousel" data-slide="next"><span class="glyphicon` glyphicon-chevron-right"></span></a>
所以我寫了:
<?php
echo $this->Html->link(
$this->Html->tag('span', '', array('class' => 'glyphicon glyphicon-chevron-right')) . "",
array('controller' => '#myCarousel'),
array('class' => 'right carousel-control', 'data-slide'=>'next', 'escape' => false)
);
?>
但沒有出現符號,而不是出現了一些代碼!怎麼了 ??
網站鏈接:LINK TO WEBSITE
可能是它的引導版本問題?您正在使用哪個版本的引導程序? –
我使用bootstrap'版本3' – Nitish
然後你的代碼應該工作......那麼,什麼代碼出現,而不是圖標? –