PhoneGap中文网

标题: 单独使用jq.mobi写html,怎么没法出来导航条和底部tab页 [打印本页]

作者: SDemon    时间: 2014-9-7 21:49
标题: 单独使用jq.mobi写html,怎么没法出来导航条和底部tab页
就像树根老师视频里那样用jq.mobi写html,为什么生成的html不像视频里那样有上下导航呢?
作者: SDemon    时间: 2014-9-7 22:08
代码如下:
  1. <!DOCTYPE html>

  2. <html>
  3.     <head>
  4.             <title>Documentation</title>
  5.             <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  6.             <meta name="viewport" content="width=device-width, initial-scale=1, maximum-

  7. scale=1">
  8.             <meta name="apple-mobile-web-app-capable" content="yes" />

  9.         <script type="text/javascript" src="appframework.js"></script>
  10.         <script type="text/javascript" src="ui/appframework.ui.js"></script>
  11.         <link rel="stylesheet" type="text/css" href="css/icons.css" />
  12.         <link rel="stylesheet" type="text/css" href="css/appframework.css" />
  13.     </head>
  14.     <body>
  15.         <div id="afui">
  16.             <div id="content">
  17.                 <div id="main title="Welcom" class="panel" selected="true">
  18.                         <header>
  19.                            <h1>Welcome</h1>
  20.                         </header>
  21.                         balabala
  22.                         <footer>
  23.                             <a href="#home" id="footer_home" class='icon home'>Home</a>
  24.                         </footer>
  25.                 </div>
  26.             </div>
  27.         </div>
  28.     </body>
  29. </html>
复制代码


运行图片见附件

无标题.png (22.65 KB, 下载次数: 386)

无标题.png

作者: admin    时间: 2014-9-9 13:07
应该可以 看看样式文件引入了没有
作者: SDemon    时间: 2014-9-9 20:39
找到原因了,用的jq.mobi 2.1...




欢迎光临 PhoneGap中文网 (http://bbs.phonegap100.com/) Powered by Discuz! X3.2