作者parkko (薄荷)
看板Ajax
标题[问题] jquery phone只能在ie正常显示
时间Fri Oct 10 20:42:57 2014
大家好
我是初学者,想学jquery用来开发手机程式
今天买了本书,但是我照着书上key入後
发现除了ie可以正常显示外
chrome以及手机内建的浏览器都无法正常显示((开出现的footer以及header都无法显示)
ie正确显示:
http://ppt.cc/PLNi
chrome无法正确显示:
http://ppt.cc/1yZc 除此之外还会出现loading的字样
但是我的手机是android的手机,没有ie可用
所以想请问有没有解决方法呢?((这样就无法在手机验证写出来的成果
GOOGLE也不晓得该下甚麽关键字...试了都没找到想要的
所以上来求救
附上程式码:
<!DOCTYPE html>
<html>
<head>
<title>jQuery Mobile Tutorial on Codeforest.net</title>
<link rel="stylesheet"
href="
http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.css" />
<script src="
http://code.jquery.com/jquery-1.4.3.min.js"></script>
<script
src="
http://code.jquery.com/mobile/1.0a1/jquery.mobile-1.0a1.min.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>Title</h1>
</div>
<div data-role="content">
<p>The content</p>
</div>
<div data-role="footer">
<h4>The Footer</h4>
</div>
</div>
</body>
</html>
谢谢大家 >_<
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 123.195.54.44
※ 文章网址: http://webptt.com/cn.aspx?n=bbs/Ajax/M.1412944994.A.FD6.html
3F:→ MangoTW: 用伺服器的方式浏览,不要用本机档案的方式。 10/11 00:28
4F:推 MARGHT: 你先开browser console看有没有什麽错误 10/16 00:59