2014-03-19 33 views
1

我正在嘗試刷新刷新圖標的動畫,但是我的問題是圖標在我的jsp頁面中不可見。 這裏是我的標記,引導程序圖標不可見

<a id="update" href="#"><i class="icon icon-refresh"></i></a> 

和我使用的所有鏈接,引導爲

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"> 
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet"> 
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> 

請任何人都可以幫我在這。

回答

1

圖標類現在改名

<a id="update" href="#"><i class="glyphicon glyphicon-refresh"></i></a> 

演示:Fiddle

注:如果您使用的bootstrap.js然後你需要包括jQuery的也bootstrap.js之前,提交

+0

+1,是的,你是正確。這裏是plunker鏈接http://plnkr.co/edit/ZAsNeLY5kx8MlGBjgwk8?p=preview –

+0

但我在其他頁面中使用了相同的內容。 。 。 – Raghavendra

+0

@ user3377978它在引導程序3.x中重命名爲2.x它是'icon-x' –

0

試試這個,它的工作對我來說

<html> 
<head> 
    <title></title> 
<!-- Latest compiled and minified CSS --> 
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> 

<!-- Optional theme --> 
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css"> 

<!-- Latest compiled and minified JavaScript --> 
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script> 

</head> 
<body> 
    <i class="glyphicon glyphicon-refresh"></i> 
</body> 
</html>