jch02140
New Member
- Messages
- 18
- Reaction score
- 0
- Points
- 1
Hi, I tried getting the default icons that comes with the jQuery mobile framework to show up in the navbar, but all I get is a blank circle.
I stored all the static page under "/mobile" and images under "/mobile/images"
How can I fix it? Any help is much appreciated.
Here are the snippet of codes.
You can also take a look at it here: http://jch02140.x10hosting.com/mobile/index.php
From js/jquery.mobile-1.0.1.css
From mobile/index.php
I stored all the static page under "/mobile" and images under "/mobile/images"
How can I fix it? Any help is much appreciated.
Here are the snippet of codes.
You can also take a look at it here: http://jch02140.x10hosting.com/mobile/index.php
From js/jquery.mobile-1.0.1.css
Code:
[COLOR=#333333][FONT=arial].ui-icon,
.ui-icon-searchfield:after {
background: #666 /*{global-icon-color}*/;
background: rgba(0,0,0,.4) /*{global-icon-disc}*/;
background-image: url(images/icons-18-white.png) /*{global-icon-set}*/;
background-repeat: no-repeat;
-moz-border-radius: 9px;
-webkit-border-radius: 9px;
border-radius: 9px;
}[/FONT][/COLOR]
From mobile/index.php
HTML:
<!-- JavaScript Files -->
<script src="js/jquery-1.7.1.min.js"></script>
<script src="js/jquery-ui-1.8.18.custom.min.js"></script>
<script src="js/jquery.mobile-1.0.1.min.js"></script>
...
<div data-theme="a" data-role="footer" data-position="fixed">
<!-- Navigation Menu -->
<div data-role="navbar" data-iconpos="top">
<ul>
<li>
<a href="#page1" data-theme="a" data-icon="home" class="ui-btn-active">
Home
</a>
</li>
<li>
<a href="#page2" data-theme="b" data-icon="info">
Battle
</a>
</li>
<li>
<a href="#page3" data-theme="c" data-icon="">
Shop
</a>
</li>
<li>
<a href="#page4" data-theme="d" data-icon="">
Button
</a>
</li>
<li>
<a href="#page5" data-theme="e" data-icon="">
Help
</a>
</li>
</ul>
</div>
</div>
Last edited: