2012-05-31 53 views
0

可能重複:
jquery mobile popup not working?jQuery Mobile的彈出

我將嘗試使用此代碼

<a href="#popupBasic" data-rel="popup">popup</a> 
    <div data-role="popup" id="popupBasic"> 
     <p>This is a completely basic popup, no options set.</p> 
    </div> 

這些腳本我用來創建一個簡單的jQuery移動彈出

<script src="../jquery/jquery.mobile-1.1.0/jquery.js" type="text/javascript"></script> 
<link href="jquery/jquery.mobile-1.1.0/css/jquery.mobile-1.1.0.css" rel="stylesheet" type="text/css" /> 
<script src="../jquery/jquery.mobile-1.1.0/jquery.mobile-1.1.0.js" type="text/javascript"></script> 

爲什麼我的彈出不起作用?任何人都可以幫助我?

回答

7

需要使用這個Ĵ查詢移動鏈路

http://code.jquery.com/mobile/latest/jquery.mobile.min.css 
http://code.jquery.com/mobile/latest/jquery.mobile.min.js 

爲我工作!