B
B
babai2011-05-15 18:23:40
HTML
babai, 2011-05-15 18:23:40

Again IE: Bug displaying a translucent div with a shadow?

More details:
There is a div with background: url(shadow.png).
When trying jQuery.animate opacity to 0 and back, in IE7-8 (!) there is a glitch - the shadow becomes just black.
Googled and googled but couldn't find a solution. I tried to make css3 shadows using css3pie, but
, alas, he also understands transparency crookedly.
Can eat who overcame a bug?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
H
homm, 2011-05-15
@babai

The easiest:

if ($.browser.msie && $.browser.version < 9) {
    $element.show();
} else {
    $element.fadeIn(500);
}

There is a way to fix this, but IE7-8 users won't appreciate your wasted time.

M
mdss, 2011-05-15
@mdss

ie7-js.googlecode.com/svn/test/index.html
try this to win?

M
marcus, 2011-05-15
@marcus

PNG with such a “double” transparency cannot be overcome, but what is wrong with shadows in xs3pie? Seemed to understand okay.

A
Alexey Vydrin, 2012-04-13
@alexvy

when I was picking a typical Bitrix image, I suddenly “created” this black shadow ...
as it turned out, I just inadvertently erased the developers’ solution for IE in the template:
[if IE]#fancybox-loading.fancybox-ie div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/jquery/fancybox/fancy_loading.png', sizingMethod='scale'); } и т.д.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question