我现在有一个html文件:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="gb2312" />
<title>了解jQuery移动API</title>
<link type="text/css" rel="stylesheet" href="css/jquery.mobile-1.3.2.min.css" />
<script type="text/javascript" src="js/jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="js/jquery.mobile-1.3.2.min.js"></script>
<script type="text/javascript" src="js/index.js"></script>
</head>
<body>
<div data-role="page" id="flashpage">
<div data-role="content">
<img src="http://www.hyyhy.com/11.jpg" id="images"/>
<a data-role="button" data-icon="grid" id="button1"> 查看 </a>
<div id="mydiv"> </div>
<a data-role="button" data-icon="grid" id="button2"> getjosn </a>
<div id="mydiv1"> </div>
<div id="divmessage"> 22</div>
</div> <!--content-->
</div> <!--flashpage-->
</body>
</html>
上面这个我是把三个JS文件放在项目目录下,能正常显示CSS样式,但是当我把<head>里的三个jquery
mobile所需的文件替换成
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-
1.1.0.min.css" />
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
后,却无法显示样式,这所以提这个问题,我怀疑是不是我eclipse配置安卓项目有问题,所以连不到外
网去,另外,我图上的地址:http://www.hyyhy.com/11.jpg这个在浏览器上是能正常显示的,但到了我
的项目也是显示不出来,谢谢大家帮助!
415 阅读