我是 Web 开发和应用程序开发的新手。我可以毫无问题地使用 html5 和 css3 制作应用程序。但是当我使用 jquery mobile 时,应用程序无法正常显示。我该如何解决。这是我使用的代码
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, user-scalable=no">
<title>Test App</title>
<link rel="stylesheet" href="css/themes/default/jquery.mobile-1.3.2.min.css">
<link rel="stylesheet" href="_assets/css/jqm-demos.css">
<link rel="stylesheet" href="css/glyphish.css.css">
<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700"> -->
<script src="js/jquery.js"></script>
<script src="_assets/js/index.js"></script>
<script src="js/jquery.mobile-1.3.2.js"></script>
<script type="text/javascript" charset="utf-8"
src="cordova/cordova.js"></script>
<style>
.background {background:url(_assets/img/background.jpg)}
.toparea {background:#FFF}
.toparea { padding-top: 0.2px !important; padding-bottom: 0.2px !important }
.toparea {alignment-adjust:middle !important; }
</style>
<style>
.nav-glyphish-example .ui-btn .ui-btn-inner { padding-top: 40px !important; }
.nav-glyphish-example .ui-btn .ui-icon { width: 30px!important; height: 30px!important; margin-left: -15px !important; box-shadow: none!important; -moz-box-shadow: none!important; -webkit-box-shadow: none!important; -webkit-border-radius: 0 !important; border-radius: 0 !important; }
#chat .ui-icon { background: url(_assets/img/glyphish-icons/53-house.png) 50% 50% no-repeat; background-size: 22px 22px; }
#email .ui-icon { background: url(_assets/img/glyphish-icons/157-wrench.png) 50% 50% no-repeat; background-size: 24px 24px; }
#login .ui-icon { background: url(_assets/img/glyphish-icons/42-photos.png) 50% 50% no-repeat; background-size: 22px 24px; }
#beer .ui-icon { background: url(_assets/img/glyphish-icons/80-shopping-cart.png) 50% 50% no-repeat; background-size: 26px 19px; }
#coffee .ui-icon { background: url(_assets/img/glyphish-icons/18-envelope.png) 50% 50% no-repeat; background-size: 24px 16px; }
</style>
</head>
<body>
<section data-role="page" class="background" id="home">
<div class="toparea" data-theme="d" data-position="persistent">
<h1>Test App</h1>
</div>
<div data-theme="d" data-role="footer" class="nav-glyphish-example" data-position="fixed">
<div data-role="navbar" class="nav-glyphish-example" data-grid="d">
<ul>
<li><a href="index.html" class="ui-btn-active" data-transition="flow" id="chat" data-icon="custom"></a></li>
<li><a href="services.html" data-transition="flow" id="email" data-icon="custom"></a></li>
<li><a href="gallery.html" data-transition="flow" id="login" data-icon="custom"></a></li>
<li><a href="products.html" data-transition="flow" id="beer" data-icon="custom"></a></li>
<li><a href="contact.html" data-transition="flow" id="coffee" data-icon="custom"></a></li>
</ul>
</div>
</div>
</section>
</body>
</html>
我希望你能帮助我。
问候
迈克尔