【发布时间】:2011-04-22 10:08:32
【问题描述】:
你好 我正在使用带有 jquery 的thickbox。但是在 ie6/7 中,使用thickbox 附带的标准 css 时,它适用于 ie8 和 ff,但不适用于 ie7。我已经尝试过黑客攻击,但那确实有效。 (发布在下面)。发生的情况是,如果我使用 hack,它根本不会影响透明覆盖。如果我不使用 hack,它只会显示 50% 的页面透明。有人可以告诉我在哪里解决这个问题吗?非常感谢
#TB_overlay {
position: fixed;
z-index:100;
top: 0px;
left: 0px;
height:100%;
width:100%;
}
#TB_overlay { position: absolute; z-index:100; top: 0px; left: 0px; background-color: #000000; filter:alpha(opacity=85); -moz-opacity: 0.7; opacity: 0.75; min-height:100%; height: auto; _height:100%; /* pour IE 6 */ height : 1px; } /* pour les autres navigateurs */
* > #TB_overlay { height: auto; } /* pour IE 7 */
*+html #TB_overlay { min-height : 1px; }
【问题讨论】:
标签: javascript jquery internet-explorer-7 internet-explorer-6 thickbox