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
代码如下:
<!DOCTYPE html>
<html>
<head>
<title>Documentation</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-
scale=1">
<meta name="apple-mobile-web-app-capable" content="yes" />
<script type="text/javascript" src="appframework.js"></script>
<script type="text/javascript" src="ui/appframework.ui.js"></script>
<link rel="stylesheet" type="text/css" href="css/icons.css" />
<link rel="stylesheet" type="text/css" href="css/appframework.css" />
</head>
<body>
<div id="afui">
<div id="content">
<div id="main title="Welcom" class="panel" selected="true">
<header>
<h1>Welcome</h1>
</header>
balabala
<footer>
<a href="#home" id="footer_home" class='icon home'>Home</a>
</footer>
</div>
</div>
</div>
</body>
</html>
复制代码
运行图片见附件
无标题.png
(22.65 KB, 下载次数: 386)
下载附件
2014-9-7 22:03 上传
作者:
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