2013-07-02 151 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更改浏览器弹出窗口会显示..但感谢的大小。