My
browser is
Chorme ,
i use phonegap+jqm create a android apk,
i want save js and css in the apk
-
-
<!DOCTYPE html>
-
<html>
-
<head>
-
<meta charset="utf-8">
-
<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">
-
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
-
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
-
<meta http-equiv="Access-Control-Allow-Origin" content="*">
-
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no" name="viewport" id="viewport" />
-
<link href="style/codiqa.ext.css" rel="stylesheet">
-
<link href="style/jquery.mobile-1.4.2.css" rel="stylesheet">
-
<script src="style/jquery-1.11.0.min.js"></script>
-
<script src="style/jquery.mobile-1.4.2.min.js"></script>
-
<script src="style/codiqa.ext.js"></script>
-
</head>
-
-
<body>
-
<!---------------------------->
-
<div data-role="page" data-control-title="Index" data-theme="b" id="index"
>
-
<div role="main" class="ui-content" style=" position:fixed;bottom:0;width:100%;padding:0">
-
-
<a data-transition="slide" data-ajax="true" href="http://server.com/">test</a>
-
-
</div>
-
</div>
-
<!---------------------------->
-
</body>
-
</html>
in
http://server.com/
like this
-
-
<!-------------server page--------------->
-
<div data-role="page" data-control-title="Index" data-theme="b" id="index"
>
-
<div role="main" class="ui-content" style="margin-top:340px">
-
hellow world!
-
</div>
-
</div>
-
<!------------server page--------------->
i add the cross header on the server, but is not ajax load,i dont know how can i do