Jquery对话框打开了PDF doc [英] Jquery dialog open behind of PDF doc

查看:90
本文介绍了Jquery对话框打开了PDF doc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我试图在IFrame的PDF文档上显示一个jQuery对话框。当我单击表单中的一个按钮时,弹出一个jQuery对话框。问题是Popup是在PDF文档后面打开的。仅在IE(9),Safari,Chrome中出现此问题。 Firefox正确显示元素而没有任何重叠问题。



ragrds

karthik

解决方案

这是一个已知的错误,jQuery团队不会修复它。



我猜他们不认为这是一个问题,因为PDF查看器不是网络问题:



http://bugs.jqueryui.com/ticket/4841 [ ^ ]


尝试设置对话框的z-index。

Ex:

 


#myModalDialog)。dialog({
resizable: false
height:' auto'
autoOpen: false
title: 警告
宽度: 200
modal: true
zindex: 3999 // 默认值为1000
按钮:{
' 关闭':function(){
//
}
}
});



参考: http://docs.jquery.com/UI/API/1.8 / Dialog#option-zIndex [ ^ ]


Dear All,
I am trying to display a jQuery dialog on top of PDF doc in IFrame. When I click a button in my Form, a jQuery dialog pops up.The problem is that the Popup is open behind the PDF doc. This problem occurs only in IE (9),Safari,Chrome. Firefox displays the elements correctly without any overlapping issue.

ragrds
karthik

解决方案

This is a known bug and the jQuery team won''t fix it.

I guess they don''t consider it an issue because the PDF viewer isn''t a web issue:

http://bugs.jqueryui.com/ticket/4841[^]


Try setting the z-index of the dialog.
Ex:


("#myModalDialog").dialog({ resizable: false, height: 'auto', autoOpen: false, title: "Warning", width: 200, modal: true, zindex: 3999, // Default is 1000 buttons: { 'Close': function () { // } } });


Refer: http://docs.jquery.com/UI/API/1.8/Dialog#option-zIndex[^]


这篇关于Jquery对话框打开了PDF doc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆