jquery移动弹出窗口没有显示出来。

时间:2013-07-02 09:24:08

标签: javascript html jquery-mobile

我的jquery移动弹出窗口有问题。它仅显示数据叠加。弹出窗口将在上下文菜单中单击后显示。

我正在重定向到某个网站,然后我会打开该弹出窗口。

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

HTML code:

<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>

1 个答案:

答案 0 :(得分:0)

嗯,这是一个 jquery移动bug ,当我改变浏览器的大小时,会显示弹出窗口..但是谢谢。

相关问题