简体   繁体   English

Jquery UI对话框和内部链接和文本不可选择/可点击

[英]Jquery UI Dialog and inner links & texts are not selectable / clickable

I have got a problem with Jquery UI dialog window. 我遇到了Jquery UI对话框窗口的问题。 I am loading external content in dialog window and opening it. 我在对话框窗口中加载外部内容并打开它。 Everything is working perfectly except 1 thing. 除了一件事,一切都很完美。

If I want to select texts inside the dialog window I can't select any. 如果我想在对话框窗口中选择文本,我不能选择任何文本。 If I click on the links, nothing happens as if whatever inside of the dialog window is somehow blocked. 如果我点击链接,就不会发生任何事情,好像对话框窗口内的任何内容都被阻止了。

Is there anyway around this problem? 反正这个问题呢?

Thank you for your time and concern in advance. 感谢您提前的时间和关注。

without seeing any code, my first guess would be to check your css. 没有看到任何代码,我的第一个猜测是检查你的CSS。 use firebug and make sure that any of the following styles: 使用firebug并确保以下任何一种样式:

-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;

are not being applied to your text. 没有应用于您的文本。 another possible thing might be a problem with z-index. 另一个可能的问题可能是z-index存在问题。 take a look at your css and see if any z-index styles are being applied, and play with them (either make them high if they are low, or make them low if they are high) to see if that fixes your problem. 看一下你的css,看看是否有任何z-index样式被应用,并与它们一起玩(如果它们很低则使它们变高,或者如果它们很高则使它们变低)以查看是否能解决你的问题。

another issue might be your version of jquery and jquery ui. 另一个问题可能是你的jquery和jquery ui版本。 make sure they are updated to the latest version. 确保它们已更新到最新版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM