2013-07-02 147 views
0

我的jquery mobile彈出窗口有問題。它只顯示數據疊加。彈出窗口將在上下文菜單中單擊後顯示。jquery移動彈出窗口不顯示。

我正在重定向到一個網站,然後我會打開彈出窗口。

$.mobile.changePage("#account"); //redirect 
setTimeout(function(){ 
    $('#popupCloseRight').popup("open"); // open the popup but shows only 
},100);         the grey overlay 

HTML代碼:

<div data-role="popup" data-overlay-theme="a" id="popupCloseRight" class="ui-content" style="max-width:280px"> 
    <a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Close</a> 
    <p>Check your E-mail</p> 
</div> 
+0

JSfiddle將是偉大的 – Muath

+0

爲什麼你打開後重定向彈出?這個彈出窗口在哪裏?它在'#帳戶'頁面內嗎?只有這樣纔會打開。 – krishgopinath

+0

註冊後,它將重定向到帳戶頁面。應該顯示彈出窗口,他應該檢查他的電子郵件,並且是在'#account'頁面內。它顯示灰色背景,但不顯示彈出窗口。 –

回答

0

嗯,這是一個jQuery Mobile的錯誤,當IM更改瀏覽器彈出窗口會顯示..但感謝的大小。