2013-06-13 40 views
0

enter image description here无法显示在浏览器(Chrome)图标

你好

我实现头,但无法显示标题(图标添加和设置)。我使用jQuery Mobile的添加标题。在捣鼓我能够看到图标,但在这里我不能够显现。你能帮我吗

<html> 
    <head> 

     <link rel="stylesheet" href="css/jquery.mobile-1.3.1.min.css"> 

     <script src="js/jquery-1.9.1.min.js"></script> 
     <script src="js/jquery.mobile-1.3.1.min.js"></script> 



    </head> 
    <script> 



    </script> 
    <body> 
     <div data-role="page"> 
     <div data-role="header" data-theme="b"> 
     <h1 class="ui-title" id="hdr" style="text-align:left;margin-left: 10px;">My Cases</h1> 
     <div class="ui-btn-right" id="addbuttons" data-role="controlgroup" data-type="horizontal"> 
     <a href="#" data-role="button" data-inline="true" data-iconpos="notext" data-icon="gear" data-theme="b">Edit</a> 
    <a href="#newevent1" data-role="button" data-iconpos="notext" data-inline="true" data-icon="plus" data-theme="b" data-rel="dialog">Add</a> 
    <a href="#newevent1" data-role="button" data-inline="true" data-theme="b" data-rel="dialog">Edit</a> 
     </div> 
     </div> 
     </div> 

    </body> 
    </html> 
+0

可能重复(http://stackoverflow.com/questions/11809987/jquery-mobile-button-icons) – Omar

回答

3

这是一个缺少图像的情况。 请确保您拥有here的最新jQuery文件,并且您在css文件夹(即包含jQuery Mobile的CSS文件的文件夹)内有images文件夹(在zip文件中提供)。

+1

+1 _a很多的人往往伪造t做这个_;) – Omar

+0

如何使动态表在jQuery的移动..? –

+0

使用动态滚动jquery表视图.. –

1

确保您已连接images文件夹放到文件夹,是你jquery.mobile-1.3.1.min.css文件,它包含了一些图标,如果没有正确的来源将显示布局一样,只是......

检查是否图标是其与否。 ..

爬行页: -

css/folder---------jquery.mobile-1.3.1.min.css/file 
css/folder---------images/folder 
[jQuery Mobile的按键图标]的
+0

如何在jquery mobile中动态创建表..? –

相关问题