2012-01-05 79 views
0

我沒有看到我在做什麼錯在這裏 - 我試圖創建一個基線jQuery手機模板。查看Firefox中的css面板,沒有呈現css。jQuery Mobile模板

<!DOCTYPE HTML> 
<html lang="en"> 
<head> 
<meta charset="utf-8"> 
<meta name="author" content="Phillip Senn"> 
<meta name="viewport" content="width=device-width, initial-scale=1"> 
<title>jQuery Mobile template</title> 
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> 
<link rel="stylesheet" href="http://code.jquery.com/mobile/latest/jquery.mobile.min.css"> 
<script> 
$(document).bind("mobileinit", function() { 
    $.mobile.ajaxEnabled = false; 
}); 
</script> 
<script src="http://code.jquery.com/mobile/latest/jquery.mobile.min.js"></script> 
</head> 
<body> 
<div data-role="page" id="myPage"> 
    <div data-role="header"> 
     <h1>jQuery Mobile Template</h1> 
    </div> 
    <div data-role="content" id="myContent"> 
     My Content 
    </div> 
    <div data-role="footer"> 
     <h4>Copyright &copy; 2012 Your name here</h4> 
    </div> 
</div> 
</body> 
</html> 

它只是不呈現爲jQuery移動頁面。

回答

2
+0

呀!我很懷疑,因爲我在查看jQuery源代碼中的時間戳,但我無法讓自己相信它。 – 2012-01-05 18:32:44

+1

現在已經發生了兩次,新版本的jQuery(或jQuery Mobile)已經破壞了我一直在努力的工作。我想使用最新版本,但... – 2012-01-05 18:34:42

+1

我認爲對於jQm來說,最新版本是他們正在實施的,並且可能無法一直工作 – 2012-01-05 19:07:09