0

I am trying to make the opacity of body to 0 for some time and then make it to 1. But the problem is in IE after getting the opacity to 1, page is looking some how different.

Devi
  • 55
  • 1
  • 4
  • You need to provide more information, code, screenshots... I don't see how I could help you with only what you described – marcgg Jan 14 '10 at 10:26

2 Answers2

0

IE has trouble with opacity and anti-aliasing. It helps to set a background-color on the element you're fading.
Also, fadeTo act a little different: you might have better luck with .fadeIn() and .fadeOut().

Kobi
  • 135,331
  • 41
  • 252
  • 292
0

The reason that it's rendered differently is because there is still a filter applied to the body. Although the filter has no visible effect due to it's settings, the rendering still has to support the filter as it's there.

You have to examine how the opacity is set, and make sure that the filter is removed once it's not needed any more.

Guffa
  • 687,336
  • 108
  • 737
  • 1,005
  • Thanks for the help. I have used ('tag').css('filter', ''); after making the effect and it is working :) – Devi Jan 14 '10 at 11:21