jquery - IE6 - jQuery UI 对话框 - 通过覆盖显示的元素

标签 jquery jquery-ui internet-explorer-6 jquery-ui-dialog

演示地址:http://jqueryui.com/demos/dialog/声明如下:

The basic dialog window is an overlay positioned within the viewport and is protected from page content (like select elements) shining through with an iframe. It has a title bar and a content area, and can be moved, resized and closed with the 'x' icon by default.

有人可以向我解释一下他们的演示如何在 IE6 中隐藏 select 吗?如前所述,但在我的简单 jsFiddle demo 中,select 亮了?

HTML:

<div id="dialog">Hello</div>

<select>
  <option>Red</option>
  <option>Green</option>
  <option>Blue</option>
</select>

JS:

$("#dialog").dialog();

最佳答案

好的。我想到了。显然,查看演示的来源,它们包括 bgiframe并且,如果该插件存在,jQuery UI 会将其与对话框一起使用。

因此,对于任何想知道同样问题的人,只需包含 bgiframe在您的项目中,您就可以开始了。

<小时/>

顺便说一句,您可能会认为在他们的演示中的某个地方,他们会提到他们正在使用 bgiframe .

关于jquery - IE6 - jQuery UI 对话框 - 通过覆盖显示的元素,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6473167/

相关文章:

jquery - HTML 复选框元素未将值传递到 jQuery 和 AJAX 字符串中

javascript - jquery ui 中的奇怪偏移可拖动

css - hr 使父 div 在 IE7 中调整为 100%

javascript - 使图像动画并同时反弹错误 - jQuery UI

javascript - jquery 星级评定在 bootstrap 弹出窗口中不起作用

jquery-ui - 如何在Dart中使用javascript ui库

html - 包含非透明内容的透明 div - IE 6 高度 :100% not working

javascript - 窗口位置问题

javascript - 使用javascript计算时间差时面临NaN结果

javascript - 从一个样式表淡出到另一个