传单和jQuery手机赢得'不要合作
Leaflet and jQuery mobile won't cooperate
每个人。我正在为一个自然保护区开发一个移动应用程序(旧地图目前是用flash构建的(,我在使用jQuery手机和传单时遇到了问题。目前,我只能获得传单地图或jQuery导航栏。下面是html部分:
<!DOCTYPE html>
<html>
<head>
<title>UW Arboretum</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-icon" href="images/logo.png"/>
<!-- <meta name="MobileOptimized" content="320" /> -->
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"> </script>
<link rel="stylesheet" href="css/leaflet.css" />
<link rel="stylesheet" href="css/style.css" />
<script src="js/leaflet-src.js"></script>
<script src="js/jquery.js"></script>
<script src="lib/jquery-ui/js/jquery-ui-1.10.1.custom.min.js"></script>
<script src="js/main.js"></script>
</head>
<body>
<div id="map">
</div><!--map-->
<div data-role="footer"
data-position="fixed">
<div data-role="navbar">
<ul>
<li><a href="#abcdefg" class="ui-state-persist" data-icon="arrow-r">abc</a></li>
<li><a href="#abcdefg" class="ui-state-persist" data-icon="arrow-r">def</a></li>
<li><a href="#abcdefg" class="ui-state-persist" data-icon="arrow-r">ghi</a></li>
<li><a href="#abcdefg" class="ui-state-persist" data-icon="arrow-r">jkl</a></li>
</ul>
</div><!--footer-->
</body>
</html>
</body>
</html>
您有两个jQuery加载:
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="js/jquery.js"></script>
也可以尝试使用最新版本的jQuery和jQuery Mobile
相关文章:
- JQuery手机.网站上只有一个https页面
- Jquery手机单页app+视频+动态变化视频
- jquery手机应用程序的第一页必须是index.html
- vTiger和jQuery手机掩码
- jQuery手机上传图片以后互联网好的时候
- 如何通过jquery手机拨打电话
- 避免在jQuery手机中闪烁(白屏)
- jQuery 手机间隙:- 列表视图中的自动分隔器是否正常工作
- jquery手机中的自动滚动功能
- iPhone设备黑色屏幕在我的jQuery手机Gap应用程序导航中闪烁
- 如何在 jquery 手机中显示之前在页面中设置选择框的值
- 使用JQuery手机和手机间隙创建笔记应用程序
- jQuery手机内点击检测按钮可折叠
- jQuery手机上的页面发呆问题
- jquery手机刷屏功能只有在页面刷新后才能使用
- jquery手机点击按钮即可更改页面
- Jquery手机取消页面更改
- jQuery手机-关闭面板上的历史背面
- 如何使用jQuery手机进行倒计时
- 餐厅电子菜单使用html和jquery手机