问题描述
我无法找到直接和当前的答案。我真的很惊讶它甚至是一个问题。
我们有一个下拉列表和一个iframe或一个对象(iframe和pdf在firefox中失败,对象和pdf不喜欢在我们的网站上重定向IE),并试图建立验证码。
验证码隐藏在下拉列表和iframe /对象后面。
那是90年代。
我的问题是:jQuery UI目前是否有内置修复或计划将其放在那里?
$(模态).dialog({/ *其他属性* /,zIndex:$ .maxZIndex()+ 1,})
和来自去年3月的jquery.bgiframe插件解决方案
它们是目前解决问题的方法吗?
这是当前代码
function openJCaptchaPromptWindow(url){
$(#captchaDialog)。load(url).dialog({
text:Ok,
click:function(){$(this).dialog(close);} ,
modal:true,
aut oOpen:true,
closeOnEscape:true,
dialogClass:'captcha',
show:'explode',
hide:'explode',
position:'top ',
宽度:460,
身高:300
});
返回false;
}
添加 bgiframe:true,
太丑了!
谢谢
我将自己回答: 目前不可能
,因为我没有得到任何有用和权威的答案。
如果有人想出办法,请告诉我,我会删除自己的答案。
谢谢
I have not been able to find a direct and CURRENT answer to this. I am actually surprised that it even is an issue.
We have a dropdown and an iframe OR an object (iframe and pdf fails in firefox, object and pdf does not like redirects in IE) on our site and are trying to put up a captcha.The captcha hides behind the dropdown and the iframe/object.That is so '90s.
My question is: Is there currently a built-in fix in jQuery UI or plans to put it there?
I have found the more than a year old
http://west-wind.com/weblog/posts/876332.aspx$(modal).dialog({ /* other properties */ , zIndex: $.maxZIndex()+ 1, })
and a jquery.bgiframe plugin solution from march last year
http://forum.jquery.com/topic/jquery-ui-dialog-iframe-fix
Are they the current ways to solve the problem?
Here is the current code
function openJCaptchaPromptWindow(url) {
$("#captchaDialog").load(url).dialog({
text: "Ok",
click: function() { $(this).dialog("close"); },
modal : true,
autoOpen: true,
closeOnEscape: true ,
dialogClass: 'captcha',
show: 'explode',
hide: 'explode',
position: 'top',
width: 460,
height: 300
});
return false;
}
Adding bgiframe : true,
is SO ugly!
Thanks
I will answer this myself: Currently not possible since I did not get any useful and authoritative answers.If anyone comes up with a way, please let me know and I will delete my own answer.thanks
这篇关于如何将jQuery UI对话放在所有内容之上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!