每个人。我正在为自然保护区开发一个移动应用程序(旧地图目前是用 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>