babai2011-05-15 18:23:40
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)
homm, 2011-05-15

The easiest:

if ($.browser.msie && $.browser.version < 9) {
} else {

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

mdss, 2011-05-15

try this to win?

marcus, 2011-05-15

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

Alexey Vydrin, 2012-04-13

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