嗨,我是Jquery mobile的新手。我需要開發包含大量屏幕的移動應用程序。我的應用程序中有大約50個HTML。我正面臨這個問題,這是很難鏈接到每個其他頁面?在jquery mobile中包含很多html文檔時鏈接和嵌入js文件
順便說一句我需要將cordova.js或自定義js文件嵌入到所有頁面。那麼我是否需要將Java腳本文件嵌入到每50頁的頁眉?這是非常耗時的調整自己的應用程序 例如
<head>
<meta charset="utf-8">
<title>Smart Realtor</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="css/smartrealtor-theme.css" />
<link rel="stylesheet" type="text/css" href="css/snap.css" />
<link rel="stylesheet" href="css/custom.css">
<link rel="stylesheet" href="css/themes/default/jquery.mobile.structure-1.4.2.css">
<link rel="stylesheet" href="css/themes/default/jquery.mobile.icons-1.4.2.css">
<link rel="stylesheet" href="css/jqm-icon-pack-fa.css">
<script src="js/jquery.js"></script>
<script src="js/globalsetting.js"></script>
<script src="js/jquery.mobile-1.4.2.min.js"></script>
</head>
難道jQuery Mobile的提供任何功能,就像我只需要包括JS文件變成index.html。然後我的其他頁面將自動加載這些js文件。請指導我的解決方案,並提供一些示例代碼,而不是給我jQuery的移動文檔鏈接。由於