jQueryMobile icon issue

67 views Asked by At

I have a header, in that i am trying to user a icon on the left side corner. I have used jquerymobile icons in that page. But i cant able to see the icon symbol, only empty icon i displayed. Find the attached screenshot for reference. below is the code from html.

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet"  href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" /> 
    <script src="http://code.jquery.com/jquery-1.6.1.min.js"></script> 
    <script src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"> </script>

</head>
<body>
<div data-role="page" id="test">
        <div data-role="header" data-theme="a">
            <a href="#home" data-icon="home" data-iconpos="notext"></a>
            <h1>Home</h1>
        </div>
    </div>
</body>
</html>

enter image description here

1

There are 1 answers

0
David MacCrimmon On

Just tried it in a fiddle and it seems to work OK for me. http://jsfiddle.net/LYCjv/

Might be worth downloading jQueryMobile hosting the files on your own server and referencing the css/js files locally, might be some issue with the CDN?